Another bom fix in the pep8 normalizer.

This commit is contained in:
Dave Halter
2017-07-10 23:40:30 +02:00
parent ff949d1061
commit 65203d197a

View File

@@ -506,7 +506,7 @@ class PEP8Normalizer(ErrorFinder):
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_spacing = spacing