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
Release files for pylint 1.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylint-1.7.2.tar.gz | 488.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylint-1.7.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / pylint-1.7.2.tar.gz
| Download URL | pylint-1.7.2.tar.gz |
|---|---|
| Size | 488.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea6afb93a9ed810cf52ff3838eb3a15e2bf6a81b80de0eaede1ce442caa5ca69
|
|
BLAKE2b-256 checksum How to use checksums |
0d6b31d4a60fad9f040da6e47a93458f69f41cd9c7367a68b596fa116ca6ed0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pylint-1.7.2-py2.py3-none-any.whl
| Download URL | pylint-1.7.2-py2.py3-none-any.whl |
|---|---|
| Size | 644.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c7a3ee11db42d00334671b778f042793c837b73f5883132158284b7dbd6f8184
|
|
BLAKE2b-256 checksum How to use checksums |
4f9ca73e0da981a39768cfaff54c0d46588a9284bd25146e24d479aa82c7c7ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |