pylint

A Python code linter. More information: <https://pylint.pycqa.org/en/latest/>.

Install

All systems
curl cmd.cat/pylint.sh
Debian Debian
apt-get install pylint
Ubuntu
apt-get install pylint
Arch Arch Linux
pacman -S pylint
image/svg+xml Kali Linux
apt-get install pylint
Fedora
dnf install pylint
Windows (WSL2)
sudo apt-get update sudo apt-get install pylint
Raspbian
apt-get install 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

© tl;dr; authors and contributors