Go to file
2018-09-18 10:06:06 +02:00
.github Update PULL_REQUEST_TEMPLATE.md 2018-08-22 11:08:47 +02:00
appveyor
bin
debian Spelling fixes 2018-01-30 21:51:11 +01:00
debian.sid
doc Add formatting documentation 2018-09-17 09:19:13 +02:00
elisp
examples Grammar fixes to docs (#2492) 2018-09-15 09:57:18 +02:00
man Removed double space from man page 2018-08-08 00:44:34 -06:00
pylint `too-few-public-methods is not reported for typing.NamedTuple` 2018-09-18 10:06:06 +02:00
.copyrite_aliases Add my copyrite alias (#2348) 2018-07-26 08:35:49 +02:00
.coveragerc
.gitignore add mypy_cache in gitignore 2018-07-17 14:50:56 +05:30
.pre-commit-config.yaml Exclude the relevant directories from black 2018-09-18 09:19:43 +02:00
.travis.yml Add tox and travis black steps 2018-09-17 09:07:44 +02:00
appveyor.yml
ChangeLog `too-few-public-methods is not reported for typing.NamedTuple` 2018-09-18 10:06:06 +02:00
CONTRIBUTORS.txt Grammar fixes to docs (#2492) 2018-09-15 09:57:18 +02:00
COPYING
DEPENDS
Makefile Remove obsolete clobber command 2018-08-21 10:35:25 +02:00
MANIFEST.in
pylintrc Reformat the code with black 2018-09-17 09:07:42 +02:00
pytest.ini
README.rst Add black badge 2018-09-17 09:07:44 +02:00
setup.cfg Drop the universal flag, we're only running on Python 3. Close #592 2018-07-13 08:50:52 +02:00
setup.py Update copyright notices 2018-07-15 11:36:36 +02:00
tox.ini Add tox and travis black steps 2018-09-17 09:07:44 +02:00

README for Pylint - http://pylint.pycqa.org/
============================================

.. image:: https://travis-ci.org/PyCQA/pylint.svg?branch=master
    :target: https://travis-ci.org/PyCQA/pylint

.. image:: https://ci.appveyor.com/api/projects/status/rbvwhakyj1y09atb/branch/master?svg=true
    :alt: AppVeyor Build Status
    :target: https://ci.appveyor.com/project/PCManticore/pylint

.. image:: https://coveralls.io/repos/github/PyCQA/pylint/badge.svg?branch=master
    :target: https://coveralls.io/github/PyCQA/pylint?branch=master


.. image:: https://img.shields.io/pypi/v/pylint.svg
    :alt: Pypi Package version
    :target: https://pypi.python.org/pypi/pylint

.. image:: https://readthedocs.org/projects/pylint/badge/?version=latest
    :target: http://pylint.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/ambv/black

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 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.

.. _here: http://pylint.pycqa.org/en/latest/user_guide/installation.html
.. _tox: https://tox.readthedocs.io/en/latest/