Finall E30x tests passing.

This commit is contained in:
Dave Halter
2017-07-06 01:30:09 +02:00
parent da39081d5a
commit 0a76c45153

View File

@@ -246,6 +246,8 @@ class PEP8Normalizer(Normalizer):
if typ == 'suite':
assert self._indentation_tos.type == IndentationTypes.SUITE
self._indentation_tos = self._indentation_tos.parent
# If we dedent, no lines are needed anymore.
self._wanted_newline_count = None
elif implicit_indentation_possible:
self._implicit_indentation_possible = False
if self._indentation_tos.type == IndentationTypes.IMPLICIT: