Question
flake8: Ignore only F401 rule in entire file
Is there a way to get flake8
to ignore only a specific rule for an entire file? Specifically, I'd like to ignore just F401
for an entire file.
I have a file like __init__.py
where I import symbols that are never used within that file. I'd rather not add # noqa
to each line. I can add # flake8: noqa
to the beginning of the file, but that ignores all rules. I'd like to ignore just the F401
rule.