Reputation: 13130
I'm migrating from pyflakes to flake8 to get the # noqa
line ignore feature. To ease the migration, I'd like to start with only checking whatever pyflakes was previously checking, and I like pyflakes simple promise to "will never complain about style". Can I just use flake8 --select F
to start with whatever was reported by pyflakes?
flake8 allows selecting or disabling specific error codes like F401
"module imported but unused". What does F
stand for?
The flake8 error-code documentation doesn't list all error codes.
Upvotes: 2
Views: 755
Reputation: 13130
Yes, to only use pyflakes:
flake8 --select F
flake8 documents the F
and C
"classes" on the pyflakes glossary:
F
: pyflakes lint checks; some documented by flake8C
: mccabe complexity, currently only C901
W
and E
: pep8 violations documented by pycodestyle
Upvotes: 4