pylint
A Python code linter. More information: https://pylint.pycqa.org/en/latest/.
- Show lint errors in a file:
pylint
- Lint a package or module (must be importable; no
.pysuffix):
pylint
- Lint a package from a directory path (must contain an
__init__.pyfile):
pylint
- Lint a file and use a configuration file (usually named
pylintrc):
pylint --rcfile
- Lint a file and disable a specific error code:
pylint --disable
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
