[code-quality] disable=all from a pylintrc file?

Sylvain Thénault sylvain.thenault at logilab.fr
Tue Jun 10 10:17:35 CEST 2014


On 09 juin 19:52, Brett Cannon wrote:
> I'm trying to whitelist checkers from a pylintrc file for pylint, but when
> I have:
> 
>   [MESSAGES CONTROL]
>   disable=all
>   enable=old-style-class
> 
> nothing is outputted. When I comment out the `disable` line then everything
> is outputted. And if I set `disable` to something like `no-init` then that
> works, so I know the pylintrc file is working properly.
> 
> How can I get the equivalent of --disable=all specified in a pylintrc file
> so I can select exactly what checkers I want to run?

This is probably due to the following bug in logilab-common
https://www.logilab.org/ticket/185648

hopefuly it's targeted for 0.62 which should be released soon.
-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org


More information about the code-quality mailing list