I don't know if there is demand, but I will write it to increase technical information in Japanese.
When using Flake8 for Python code checking, you may want to exclude files and directories from checking. How to do that.
flake8 --exclude=./env/lib/python3.8/site-packages/ .
As mentioned above, you can specify files and directories that are not checked with the "--exclude" option. By the way, the above is
--Except for the "./env/lib/python3.8/site-packages/" directory --Check the current directory (specified by "." At the end)
https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-exclude
Recommended Posts