How do I close all flake8 style bugs and leave programming bugs?… here is a solution to the problem.
How do I close all flake8 style bugs and leave programming bugs?
I use flake8 with Atom to do Python linting. I don’t want to see stylistic errors, only programming errors. IE。 I don’t care if I didn’t put the appropriate amount of spaces around the operator, but I’m still wondering if the variable was used before initializing.
I
know I can put a specific error number in the “ignore” section of flake8ini.rc, but is there a way to close all style errors at once?
Solution
It sounds like you really just want to run pyflakes
instead of pycodestyle
. You should be able to disable pycodestyle
: by ignoring all E
and F
violations
[flake8]
ignore = E,F