A Python source code analyzer which looks for programming errors, helps enforcing a coding standard and sniffs for some code smells
Python Other
Permalink
Failed to load latest commit information.
.github Fix link to contributing docs Dec 9, 2016
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 Remove pylint-gui Jul 3, 2016
doc Add change log entries, fix style issues Jan 3, 2017
elisp elisp: allow guessed indent string to be passed to pylint (#1051) Jul 28, 2016
examples Fix err "global name 'module' is not defined" (#1146) Oct 25, 2016
man Fix typos (#978) Jul 5, 2016
pylint Fix not-used-before-assignment false positive (#1266) Jan 4, 2017
.coveragerc [ADD] coverage: Enable coveralls and coverage report (#873) Apr 26, 2016
.gitignore Automatic generation of extensions.rst (#988) Jul 10, 2016
.travis.yml Revert "Use pytest-xdist for parallel execution of tests in travis (#… Jan 3, 2017
CONTRIBUTORS.txt Add new extension for detecting integer comparisons against zero (#1243) Dec 31, 2016
COPYING prepared new version Aug 10, 2006
ChangeLog Add change log entries, fix style issues Jan 3, 2017
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 Upgrade tox to v2.x for py35 compatability (#1220) (#1221) Dec 16, 2016
README.rst Remove pylint-gui Jul 3, 2016
appveyor.yml Travis and AppVeyor for Python 3.6 (#1260) Jan 3, 2017
pylintrc Added threading.local to ignored classes default list (#946) Jun 24, 2016
pytest.ini Switch test runner from unnittest to pytest. Dec 6, 2016
setup.cfg Support wheel packaging format for PyPi. Closes issue #334. Oct 1, 2014
setup.py Allow running tests without installing, using pytest and setuptools. … Dec 18, 2016
tox.ini Use pytest-xdist for parallel execution of tests in travis (#1246) Dec 30, 2016

README.rst

README for Pylint - http://www.pylint.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://docs.pylint.org

Pylint is shipped with following additional commands:

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