Closed
Description
Check this note from the flake8 docs:
Following the recommended settings for Python’s configparser, Flake8 does not support inline comments for any of the keys. So while this is fine:
[flake8]
per-file-ignores =
# imported but unused
init.py: F401this is not:
[flake8]
per-file-ignores =
init.py: F401 # imported but unused
However, that's exactly what we do:
Lines 71 to 104 in 98e2229
In each case, the comment should be moved to be on its own line, on the line before the code
Else, we risk accidentally putting something in the comments that'll mess with how flake8 works