flake8
Check the style and quality of Python code. More information: https://flake8.pycqa.org/en/latest/user/options.html.
- Lint a file or directory recursively:
flake8
- Lint a file or directory recursively and show the line on which each error occurred:
flake8 --show-source
- Lint a file or directory recursively and ignore a list of rules. (All available rules can be found at https://www.flake8rules.com/):
flake8 --ignore
- Lint a file or directory recursively but exclude files matching the given
globs or substrings:
flake8 --exclude
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
