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 https://img.shields.io/badge/code%20style-black-000000.svg

Pylint

It’s not just a linter that annoys you!

Pylint is a Python static code analysis tool which looks for programming errors, helps enforcing a coding standard, sniffs for code smells and offers simple refactoring suggestions.

It’s highly configurable, having special pragmas to control its errors and warnings from within your code, as well as from an extensive configuration file. It is also possible to write your own plugins for adding your own checks or for extending pylint in one way or another.

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/

Pull requests are amazing and most welcome.

Install

Pylint can be simply installed by running:

pip install pylint

If you are using Python 3.6+, upgrade to get full support for your version:

pip install pylint --upgrade

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

python setup.py install

Do make sure to do the same for astroid, which is used internally by pylint.

For debian and rpm packages, use your usual tools according to your Linux distribution.

More information about installation and available distribution format can be found here.

Documentation

The documentation lives 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

Testing

We use tox for running the test suite. You should be able to install it with:

pip install tox pytest

To run the test suite for a particular Python version, you can do:

tox -e py27

For more detailed information, check the documentation.

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.3.0.dev2.tar.gz (578.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylint-2.3.0.dev2-py3-none-any.whl (764.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylint-2.3.0.dev2.tar.gz
  • Upload date:
  • Size: 578.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for pylint-2.3.0.dev2.tar.gz
Algorithm Hash digest
SHA256 fea08b65e41a13f31133f04af57e103d52c3cca06f044468e0ec53140c18f95a
MD5 f40d7f4be6cd1f5b5858dabb45a06579
BLAKE2b-256 1efafb3bb9658a6ad65e7818ff8b37213b289dd06659300b88eef5baa9c438c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylint-2.3.0.dev2-py3-none-any.whl
  • Upload date:
  • Size: 764.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for pylint-2.3.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 daa2dfc3aec7252e5d5c00cb5fb2bfc8a4d43c593f8e58366fb43dc2b13f3ec3
MD5 0b13942146d7ee1ddef714e77a444da7
BLAKE2b-256 853281d43e29db5e0eb5aecc7d5752fffd6d4277826c9b55084c45b0e799fcd5

See more details on using hashes here.

Supported by

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