pylint
A Python code linter. More information: https://pylint.pycqa.org/en/latest/.
-
Show lint errors in a file:
pylint {{path/to/file.py}}
-
Lint a file and use a configuration file (usually named
pylintrc
):
pylint --rcfile {{path/to/pylintrc}} {{path/to/file.py}}
-
Lint a file and disable a specific error code:
pylint --disable {{C,W,no-error,design}} {{path/to/file}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.