A Python source code analyzer which looks for programming errors, helps enforcing a coding standard and sniffs for some code smells
Python Other
Switch branches/tags
pylint-version-1.1.0 pylint-version-1.0.0 pylint-version-0.28.0 pylint-version-0.27.0 pylint-version-0.26.0 pylint-version-0.25.2 pylint-version-0.25.1 pylint-version-0.25.0 pylint-version-0.24.0 pylint-version-0.23.0 pylint-version-0.22.0 pylint-version-0.21.4 pylint-version-0.21.3 pylint-version-0.21.2 pylint-version-0.21.1 pylint-version-0.21.0 pylint-version-0.20.0 pylint-version-0.19.0 pylint-version-0.18.1 pylint-version-0_17_0 pylint-version-0_15_2 pylint-version-0_15_1 pylint-version-0_15_0 pylint-version-0_13_0 pylint-debian-version-1.1.0-1 pylint-debian-version-1.0.0-1 pylint-debian-version-0.28.0-1 pylint-debian-version-0.27.0-1 pylint-debian-version-0.26.0-1 pylint-debian-version-0.25.2-1 pylint-debian-version-0.25.1-1 pylint-debian-version-0.25.0-1 pylint-debian-version-0.24.0-1 pylint-debian-version-0.23.0-1 pylint-debian-version-0.22.0-1 pylint-debian-version-0.21.4-1 pylint-debian-version-0.21.3-1 pylint-debian-version-0.21.2-1 pylint-debian-version-0.21.1-1 pylint-debian-version-0.21.0-1 pylint-debian-version-0.20.0-1 pylint-debian-version-0.19.0-1 pylint-debian-version-0.18.1-1 pylint-debian-version-0_15_2-1 pylint-debian-version-0_15_1-1 pylint-debian-version-0_15_0-1 pylint-debian-version-0_13_0-1 pylint-2.1.1 pylint-2.1.0 pylint-2.0.1 pylint-2.0 pylint-2.0.dev1 pylint-2.0.dev pylint-1.9.2 pylint-1.9.1 pylint-1.9 pylint-1.8.4 pylint-1.8.3 pylint-1.8.2 pylint-1.8.1 pylint-1.8.0 pylint-1.7.6 pylint-1.7.5 pylint-1.7.4 pylint-1.7.3 pylint-1.7.2 pylint-1.7.1 pylint-1.7.0 pylint-1.6.5 pylint-1.6.4 pylint-1.6.3 pylint-1.6.2 pylint-1.6.1 pylint-1.6.0 pylint-1.5.6 pylint-1.5.5 pylint-1.5.4 pylint-1.5.3 pylint-1.5.2 pylint-1.5.1 pylint-1.5 pylint-1.4.5 pylint-1.4.4 pylint-1.4.3 pylint-1.4.2 pylint-1.4.1 pylint-1.4 pylint-1.3.1 pylint-1.3 pylint-1.2 before-astroid
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Remove CODEOWNERS: good idea, but cannot realistically review every PR Jul 11, 2018
appveyor Added support for AppVeroy for CI on Windows Sep 22, 2014
bin Remove pylint-gui Jul 3, 2016
debian.sid Remove pylint-gui Jul 3, 2016
debian Spelling fixes Jan 30, 2018
doc fix false positive ``undefined-variable`` Aug 17, 2018
elisp Spelling fixes (#1397) Apr 2, 2017
examples Removed double space from pylintrc example Aug 8, 2018
man Removed double space from man page Aug 8, 2018
pylint fix false positive ``undefined-variable`` Aug 17, 2018
.copyrite_aliases Add my copyrite alias (#2348) Jul 26, 2018
.coveragerc [ADD] coverage: Enable coveralls and coverage report (#873) Apr 26, 2016
.gitignore add mypy_cache in gitignore Jul 17, 2018
.travis.yml move rstlint job under prechecks stage Aug 1, 2018
CONTRIBUTORS.txt Remove a couple of Python 2 specific checks Aug 15, 2018
COPYING prepared new version Aug 10, 2006
ChangeLog fix false positive ``undefined-variable`` Aug 17, 2018
DEPENDS Prepare 1.4.3 release. Mar 14, 2015
MANIFEST.in Include the make bat file from the documentation for Windows platforms. Jan 3, 2016
Makefile Makefile: fix version look up for python 3 (#2205) Jun 19, 2018
README.rst Remove a couple of Python 2 specific checks Aug 15, 2018
appveyor.yml Remove 2.7 from appveyor Jan 25, 2018
pylintrc Remove the maximum length from the style regular expressions (#2290) Jul 17, 2018
pytest.ini acceptance tests, not run by default (#1360) Jul 31, 2017
setup.cfg Drop the universal flag, we're only running on Python 3. Close #592 Jul 13, 2018
setup.py Update copyright notices Jul 15, 2018
tox.ini Remove uneeded dependency in tox Aug 3, 2018

README.rst

README for Pylint - http://pylint.pycqa.org/

https://travis-ci.org/PyCQA/pylint.svg?branch=master AppVeyor Build Status https://coveralls.io/repos/github/PyCQA/pylint/badge.svg?branch=master Pypi Package version Documentation Status

Pylint is a Python source code analyzer which looks for programming errors, helps enforcing a coding standard and sniffs for some code smells (as defined in Martin Fowler's Refactoring book).

Pylint has many rules enabled by default, way too much to silence them all on a minimally sized program. It's highly configurable and handle pragmas to control it from within your code. Additionally, it is possible to write plugins to add your own checks.

It's a free software distributed under the GNU General Public Licence.

Development is hosted on GitHub: https://github.com/PyCQA/pylint/

You can use the code-quality@python.org mailing list to discuss about Pylint. Subscribe at https://mail.python.org/mailman/listinfo/code-quality/ or read the archives at https://mail.python.org/pipermail/code-quality/

Install

Pylint requires astroid package (the later the better).

Installation should be as simple as

python -m pip install astroid

Pylint requires isort package (the later the better).

Installation should be as simple as

python -m pip install isort

If you want to install from a source distribution, extract the tarball and run the following commands

python setup.py install

You'll have to install dependencies in a similar way. For debian and rpm packages, use your usual tools according to your Linux distribution.

More information about installation and available distribution format may be found in the user manual in the doc subdirectory.

Documentation

Look in the doc/ subdirectory or at http://pylint.pycqa.org/

Pylint is shipped with following additional commands:

  • pyreverse: an UML diagram generator
  • symilar: an independent similarities checker
  • epylint: Emacs and Flymake compatible Pylint