Examples (5)
Show lint errors in a file
pylint path/to/file.pyLint a package or module (must be importable; no `.py` suffix)
pylint package_or_moduleLint a package from a directory path (must contain an `__init__.py` file)
pylint path/to/directoryLint a file and use a configuration file (usually named `pylintrc`)
pylint --rcfile path/to/pylintrc path/to/file.pyLint a file and disable a specific error code
pylint --disable C,W,no-error,design path/to/filemade by @shridhargupta | data from tldr-pages