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.tar.gz (550.6 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.0.0-py3-none-any.whl (732.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pylint-2.0.0.tar.gz
Algorithm Hash digest
SHA256 9cd70527ef3b099543eeabeb5c80ff325d86b477aa2b3d49e264e12d12153bc8
MD5 ec47e073f29b0e60dfd967193fb98157
BLAKE2b-256 9b22becc5a976c2b25c01f5d054b970a1da5803e61aa342d3729b6cc8d762f71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylint-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 248a7b19138b22e6390cba71adc0cb03ac6dd75a25d3544f03ea1728fa20e8f4
MD5 aa66271f3606358dfe8b6f6217fe5d34
BLAKE2b-256 87ef7d20e99471e4779583812be3d768818c0fca89ffad6f19ffbc1f167ebe07

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