[Python-projects] pylint: rpython enabled if "disable-checker" in rcfile

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Mar 7 09:04:39 CET 2007


On Monday 05 March à 20:51, Maarten ter Huurne wrote:
> 
> Hi,

Hi,
 
> I just upgraded to PyLint 0.13.1 and ASTNG 0.17.0. After upgrading I ran into
> several bugs which all had "checkers/rpython.py" in their stack traces. This
> surprised me because rpython is supposed to be disabled by default.
> 
> The reason rpython was enabled in my setup is that my pylintrc contains this
> line:
>         disable-checker=design
> Apparently not specifying any disabled checkers means rpython is disabled
> implicitly. But as soon as you explicitly disable one checker, you must
> explicitly disable rpython as well:
>         disable-checker=design,rpython

I've fixed this so that disabling a checker won't accidentally activate
a checker which is deactivated by default such as rpython
 
> By the way, the comment for the "disable-checker" option is this:
>         # Enable all checker(s) except those with the given id(s). This option
> conflict
>         # with the disable-checker option
> I think it should say it conflicts with "enable-checker" instead. Also,
> "conflict" should be "conflicts".

fixed
 
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science



More information about the Python-Projects mailing list