pylint
A Python code linter. tldr-pages
On several platforms
Several platforms
Show lint errors in a file
pylint path/to/file.pyIdentifyLint a package or module (must be importable; no .py suffix)
pylint package_or_moduleIdentifyLint a package from a directory path (must contain an __init__.py file)
pylint path/to/directoryIdentifyLint a file and use a configuration file (usually named pylintrc)
pylint --rcfile path/to/pylintrc path/to/file.pyIdentifyLint a file and disable a specific error code
pylint --disable C,W,no-error,design path/to/fileIdentify