Skip to content

Fix Issue #40 Include fixed

username-removed-142335 requested to merge tyrelsouza/flake8:fix_includes into master

Fix parsing ignore #40 (closed) at https://gitlab.com/pycqa/flake8/issues/40

Adding an ignore option in [flake8] wasn't working because pep8.StyleGuide turned the string sent in into a tuple, which the option parser needs to receive as an iterable that isn't a string. Split on spaces, commas, or semicolons using re.findall in order to get a list of error/warnings to pass to StyleGuide properly.

Also fixes a typo I found.

Merge request reports