Coding Standard

  • checking line-code's length,
  • checking if variable names are well-formed according to your coding standard
  • checking if imported modules are used

Python's PEP8 style guide

Error detection

  • checking if declared interfaces are truly implemented
  • checking if modules are imported
  • and much more (see the complete check list)

Full list of codes (wiki)

Refactoring help

Pylint detects duplicated code

About Refactoring (on wikipedia)

Fully customizable

Modify your pylintrc to customize which errors or conventions are important to you. The big advantage with Pylint is that it is highly configurable, customizable, and you can easily write a small plugin to add a personal feature.

More about message control (FAQ)

Editor integration

Run it in emacs , vim (pylint.vim, syntastic), eclipse, etc.


List of supported editors

IDE integration

Pylint is integrated in various IDEs :

List of supported IDEs

UML diagrams

Pylint is shipped with Pyreverse which creates UML diagrams for python code.

Pyreverse : UML Diagrams for Python

Continuous integration

Pylint can be automated in your project using Apycot, Hudson or Jenkins.

Extensibility

The underlying Astroid library doesn't understand your code ? Contribute a patch to pylint-brain


Debian

sudo apt-get install pylint


Ubuntu

sudo apt-get install pylint


Fedora

sudo yum install pylint


Gentoo

emerge pylint


openSUSE

sudo zypper install pylint  # python2.7
sudo zypper install python3-pylint 


FreeBSD

portmaster devel/pylint


Arch Linux

pacman -S python2-pylint # if you live in the past
pacman -S python-pylint  # if you live in the future


OS X

pip install pylint


Windows

pip install pylint # see note


From source using Mercurial

hg clone https://bitbucket.org/logilab/pylint/
hg clone https://bitbucket.org/logilab/astroid
mkdir logilab && touch logilab/__init__.py
hg clone http://hg.logilab.org/logilab/common logilab/common


Commercial Services

Contact Logilab for commercial services about Pylint

http://www.logilab.fr/contact

You have a company providing services with Pylint ? Contact us to get listed here.