mirror of
https://github.com/davidhalter/parso.git
synced 2026-05-26 02:08:57 +08:00
Finall E30x tests passing.
This commit is contained in:
@@ -246,6 +246,8 @@ class PEP8Normalizer(Normalizer):
|
|||||||
if typ == 'suite':
|
if typ == 'suite':
|
||||||
assert self._indentation_tos.type == IndentationTypes.SUITE
|
assert self._indentation_tos.type == IndentationTypes.SUITE
|
||||||
self._indentation_tos = self._indentation_tos.parent
|
self._indentation_tos = self._indentation_tos.parent
|
||||||
|
# If we dedent, no lines are needed anymore.
|
||||||
|
self._wanted_newline_count = None
|
||||||
elif implicit_indentation_possible:
|
elif implicit_indentation_possible:
|
||||||
self._implicit_indentation_possible = False
|
self._implicit_indentation_possible = False
|
||||||
if self._indentation_tos.type == IndentationTypes.IMPLICIT:
|
if self._indentation_tos.type == IndentationTypes.IMPLICIT:
|
||||||
|
|||||||
Reference in New Issue
Block a user