mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-22 13:07:03 +08:00
Another bom fix in the pep8 normalizer.
This commit is contained in:
1 parent
ff949d1061
commit
65203d197a
1 file changed
+1
-1
@@ -506,7 +506,7 @@ class PEP8Normalizer(ErrorFinder):
|
|||||||
self._config, part, parent=self._indentation_tos
|
self._config, part, parent=self._indentation_tos
|
||||||
)
|
)
|
||||||
|
|
||||||
self._on_newline = type_ in ('newline', 'backslash')
|
self._on_newline = type_ in ('newline', 'backslash', 'bom')
|
||||||
|
|
||||||
self._previous_part = part
|
self._previous_part = part
|
||||||
self._previous_spacing = spacing
|
self._previous_spacing = spacing
|
||||||
|
|||||||
Reference in new issue
Block a user