Go to file
ssolanki 7a304df657 add new case for unnecessary-pass
`unnecessary-pass` is now also emitted when a function or class contains
only docstring and pass statement, in which case, docstring is enough for
empty definition.

fix sphinx-build error
2018-08-09 12:43:04 +05:30
.github Remove CODEOWNERS: good idea, but cannot realistically review every PR 2018-07-11 12:42:55 +02:00
appveyor
bin Remove pylint-gui 2016-07-03 22:29:59 +01:00
debian Spelling fixes 2018-01-30 21:51:11 +01:00
debian.sid Remove pylint-gui 2016-07-03 22:29:59 +01:00
doc add new case for unnecessary-pass 2018-08-09 12:43:04 +05:30
elisp Spelling fixes (#1397) 2017-04-02 15:55:37 +03:00
examples Removed double space from pylintrc example 2018-08-08 00:44:34 -06:00
man Removed double space from man page 2018-08-08 00:44:34 -06:00
pylint add new case for unnecessary-pass 2018-08-09 12:43:04 +05:30
.copyrite_aliases Add my copyrite alias (#2348) 2018-07-26 08:35:49 +02:00
.coveragerc [ADD] coverage: Enable coveralls and coverage report (#873) 2016-04-26 16:53:30 +03:00
.gitignore add mypy_cache in gitignore 2018-07-17 14:50:56 +05:30
.travis.yml move rstlint job under prechecks stage 2018-08-01 15:38:52 -06:00
appveyor.yml Remove 2.7 from appveyor 2018-01-25 16:48:44 +01:00
ChangeLog add new case for unnecessary-pass 2018-08-09 12:43:04 +05:30
CONTRIBUTORS.txt Added myself to contributor list 2018-08-08 00:44:34 -06:00
COPYING
DEPENDS
Makefile Makefile: fix version look up for python 3 (#2205) 2018-06-19 08:31:46 +02:00
MANIFEST.in Include the make bat file from the documentation for Windows platforms. 2016-01-03 17:25:01 +02:00
pylintrc Remove the maximum length from the style regular expressions (#2290) 2018-07-17 09:42:06 +02:00
pytest.ini acceptance tests, not run by default (#1360) 2017-07-31 10:59:09 +02:00
README.rst Remove old note 2018-07-15 11:52:46 +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 Remove uneeded dependency in tox 2018-08-02 21:54:45 -06: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

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

* https://github.com/PyCQA/astroid

Installation should be as simple as ::

    python -m pip install astroid

Pylint requires isort package (the later the better).

* https://github.com/timothycrosley/isort

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