[ANN] PyLint 0.8

Discussion in 'Python' started by Sylvain =?iso-8859-1?Q?Th=E9nault?=, Oct 22, 2005.

  1. Hi there !

    I'm very please to announce the new 0.8 release of PyLint. I've promised
    this release for a long time now, and finally got the time to do it :D.
    This release includes a lot of bug fixes and enhancements. Notice that
    a major change in this release is a new dependancy to the astng package
    which has been extracted from logilab-common. This package is
    downloadable from http://www.logilab.org/projects/astng.

    What's new ?
    * check names imported from a module exists in the module (E0611),
    patch contributed by Amaury Forgeot d'Arc

    * print a warning (W0212) for methods that could be a function
    (implements #9100)

    * new --defining-attr-methods option on classes checker

    * new --acquired-members option on the classes checker, used when
    --zope=yes to avoid false positive on acquired attributes (listed
    using this new option) (close #8616)

    * generate one E0602 for each use of an undefined variable
    (previously, only one for the first use but not for the following)
    (implements #1000)

    * make profile option saveable

    * fix Windows .bat file, patch contributed by Amaury Forgeot d'Arc

    * fix one more false positive for E0601 (access before definition)
    with for loop such as "for i in range(10): print i" (test

    * fix false positive for E0201 (undefined member) when accessing to
    __name__ on a class object

    * fix astng checkers traversal order

    * fix bug in format checker when parsing a file from a platform
    using different new line characters (close #9239)

    * fix encoding detection regexp

    * fix --rcfile handling (support for --rcfile=file, close #9590)

    What is pylint ?

    Pylint is a python tool that checks if a module satisfy a coding
    standard. Pylint can be seen as another pychecker since nearly all
    tests you can do with pychecker can also be done with Pylint. But
    Pylint offers some more features, like checking line-code's length,
    checking if variable names are well-formed according to your coding
    standard, or checking if declared interfaces are truly implemented,
    and much more (see http://www.logilab.org/projects/pylint/ for the
    complete check list). The big advantage with Pylint is that it is
    highly configurable, customizable, and you can easily write a small
    plugin to add a personal feature.

    The usage it quite simple :

    $ pylint mypackage.mymodule

    This command will output all the errors and warnings related to the
    tested code (here : mypackage.mymodule), will dump a little summary at
    the end, and will give a mark to the tested code.

    Pylint is free software distributed under the GNU Public Licence.

    Home page


    Mailing list

    Enjoy !
    Sylvain Thénault LOGILAB, Paris (France).

    http://www.logilab.com http://www.logilab.fr http://www.logilab.org
    Sylvain =?iso-8859-1?Q?Th=E9nault?=, Oct 22, 2005
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Re: [ANN] pylint-0.1.2

    , Jun 25, 2003, in forum: Python
  2. Alexandre Fayolle

    [ANN] pylint-0.2

    Alexandre Fayolle, Sep 26, 2003, in forum: Python
    Peter Milliken
    Oct 1, 2003
  3. POYEN OP Olivier (DCL)

    RE: [ANN] pylint-0.2

    POYEN OP Olivier (DCL), Sep 30, 2003, in forum: Python
    Mark Hahn
    Sep 30, 2003
  4. Alexandre Fayolle

    [ANN] logilab-common [fixes bug in pylint]

    Alexandre Fayolle, Oct 9, 2003, in forum: Python
    Alexandre Fayolle
    Oct 9, 2003
  5. Giacomo Boffi
    Jean-Michel Pichavant
    Apr 19, 2010

Share This Page