Skip to main content

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

Note

Python 3.7 support is currently available on the preview release:

pip install pylint astroid --pre -U

Metadata

Release files for pylint 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylint 2.0.0
File Size Uploaded Provenance Actions
pylint-2.0.0.tar.gz 550.6 kB Without provenance Details for pylint-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pylint 2.0.0
File Interpreter ABI Platform Actions
pylint-2.0.0-py3-none-any.whl Python 3 none any Details for pylint-2.0.0-py3-none-any.whl

Total release size: 1.3 MB

Release files / pylint-2.0.0.tar.gz

Download URL pylint-2.0.0.tar.gz
Size 550.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9cd70527ef3b099543eeabeb5c80ff325d86b477aa2b3d49e264e12d12153bc8
BLAKE2b-256 checksum
How to use checksums
9b22becc5a976c2b25c01f5d054b970a1da5803e61aa342d3729b6cc8d762f71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pylint-2.0.0-py3-none-any.whl

Download URL pylint-2.0.0-py3-none-any.whl
Size 732.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
248a7b19138b22e6390cba71adc0cb03ac6dd75a25d3544f03ea1728fa20e8f4
BLAKE2b-256 checksum
How to use checksums
87ef7d20e99471e4779583812be3d768818c0fca89ffad6f19ffbc1f167ebe07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pylint 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

0.14.0

0.13.0

0.12.1

0.11.0

0.10.0

0.8.1

0.7.0

0.6.1

0.6.0

0.4.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page