Allow spaces in # noqa lists

To match our new configuration file format and its allowance for spaces
in the list

Closes #356
This commit is contained in:
Ian Stapleton Cordasco 2017-07-28 19:31:32 -05:00
parent a4f2135c77
commit ec996ffd85
No known key found for this signature in database
GPG key ID: C9D7A2604B4FCB2A
3 changed files with 3 additions and 1 deletions

View file

@ -19,6 +19,7 @@ RELATIVE_PATHS = ["flake8", "pep8", "pyflakes", "mccabe"]
("E123,W234,E206,", ["E123", "W234", "E206"]),
("E123,W234,E206, ,\n", ["E123", "W234", "E206"]),
("E123,W234,,E206,,", ["E123", "W234", "E206"]),
("E123, W234,, E206,,", ["E123", "W234", "E206"]),
("E123,,W234,,E206,,", ["E123", "W234", "E206"]),
(["E123", "W234", "E206"], ["E123", "W234", "E206"]),
(["E123", "\n\tW234", "\n E206"], ["E123", "W234", "E206"]),