Remove E999 for now, because those issues are not defined. Also change a few small things where issues were wrong.

This commit is contained in:
Dave Halter
2017-07-02 22:12:02 +02:00
parent 4d390742cd
commit dd950392c8
4 changed files with 9 additions and 6 deletions

View File

@@ -511,6 +511,8 @@ class PEP8Normalizer(Normalizer):
and leaf.parent.type not in ('subscript', 'subscriptlist'):
message = "Whitespace before '%s'" % leaf.value
add_if_spaces(203, message, spacing)
elif prev == ':' and prev.parent.type in ('subscript', 'subscriptlist'):
pass # TODO
elif prev in (',', ';', ':'):
add_not_spaces('231', "missing whitespace after '%s'", spacing)
elif leaf == ':': # Is a subscript