Skip to main content

python code static checker

Project description

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

Note

Python 3.7 support is currently available on the preview release:

pip install pylint astroid --pre -U

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylint-2.0.0.dev2.tar.gz (547.3 kB view details)

Uploaded Source

Built Distribution

pylint-2.0.0.dev2-py2.py3-none-any.whl (727.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pylint-2.0.0.dev2.tar.gz.

File metadata

  • Download URL: pylint-2.0.0.dev2.tar.gz
  • Upload date:
  • Size: 547.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pylint-2.0.0.dev2.tar.gz
Algorithm Hash digest
SHA256 285c9ae7255acb584057fe31051a37498985e632b99fc0ec93b7eb38a1b137f9
MD5 9251a833c1785aeb34e801b7476df66e
BLAKE2b-256 ee886eac32812f9c0539f98d7882554fc255e29de41e8928ddbb3f5daaf07849

See more details on using hashes here.

File details

Details for the file pylint-2.0.0.dev2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pylint-2.0.0.dev2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd5c0fc4e6a4cb9483a4367699099a7dfc8a13de9ecac4cb16855ffac68d49de
MD5 948916d6330caf6505802149e5c55a26
BLAKE2b-256 6625c639b07b1e46670ab634cab5f9c6d676cdf812095da42dee279d1299f375

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page