Go to file
Claudiu Popa ef1fdce33c Add wrong-import-position to check_messages's decorator arguments for ImportChecker.leave_module
This fixes an esoteric bug which occurs when ungrouped-imports and wrong-import-order
are disabled and pylint is executed on multiple files. What happens is that without
wrong-import-position in check_messages, leave_module will never be called, which means
that the first non-import node from other files might leak into the current file,
leading to wrong-import-position being emitted by pylint.
2015-11-30 00:46:56 +02:00
appveyor
bin
debian Add new entry in the deb changelog. 2015-02-15 12:12:46 +02:00
debian.sid
doc Added notes on integration with TextMate 2015-10-25 19:12:27 +00:00
elisp
examples error E0201 is obsolete - now E1101 2015-11-18 12:07:22 +00:00
man error E0201 is obsolete - now E1101 2015-11-18 12:07:22 +00:00
pylint Add wrong-import-position to check_messages's decorator arguments for ImportChecker.leave_module 2015-11-30 00:46:56 +02:00
.hgignore
.hgtags Added tag pylint-1.4.3 for changeset b8ff6bf98468 2015-03-14 18:39:11 +02:00
appveyor.yml
ChangeLog Added a new warning, 'unsupported-delete-operation' 2015-11-26 17:18:16 +02:00
CONTRIBUTORS.txt check if the type of a variable is redefined (at a function, class or module scope) 2015-10-30 13:20:27 +01:00
COPYING
DEPENDS Prepare 1.4.3 release. 2015-03-14 18:36:49 +02:00
Makefile
MANIFEST.in
pylintrc error E0201 is obsolete - now E1101 2015-11-18 12:07:22 +00:00
README Improve the install section of the README, by specifying pip and how to use the master development head. 2015-11-22 13:49:27 +02:00
README.Python3
setup.cfg
setup.py Finish converting tests to work both on Python 2 and 3. Also, drop 2to3 for tests. 2015-03-26 20:21:25 +02:00
tox.ini Remove pudb from test dependencies 2015-11-07 19:16:06 +03:00

.. image:: https://drone.io/bitbucket.org/logilab/pylint/status.png
    :alt: drone.io Build Status
    :target: https://drone.io/bitbucket.org/logilab/pylint

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

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

Development is hosted on bitbucket: https://bitbucket.org/logilab/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://bitbucket.org/logilab/astroid

Installation should be as simple as ::

    python -m pip install astroid


If you want to install from a source distribution, extract the tarball and run
the following commands ::

    hg update master
    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
* pylint-gui: a graphical interface