Fixed E129 flake8 errors

visually indented line with same indent as next logical line
This commit is contained in:
Andras Tim
2017-07-17 01:25:07 +02:00
parent cf97159009
commit 1c935db571
5 changed files with 5 additions and 5 deletions

View File

@@ -307,7 +307,7 @@ def _rewrite_test(config, fn):
end2 = source.find("\n", end1 + 1)
if (not source.startswith(BOM_UTF8) and
cookie_re.match(source[0:end1]) is None and
cookie_re.match(source[end1 + 1:end2]) is None):
cookie_re.match(source[end1 + 1:end2]) is None):
if hasattr(state, "_indecode"):
# encodings imported us again, so don't rewrite.
return None, None