[Python-apps-team] Bug#541063: Bug#541063: pylint: --enable-msg does not work

Alexandre Fayolle alexandre.fayolle at logilab.fr
Tue Aug 25 09:29:09 UTC 2009


forwarded 541063 http://www.logilab.org/9992
tag 541063 +upstream
severity 541063 normal
thanks

On Tuesday 11 August 2009 15:04:11 Francois Gouget wrote:
> Package: pylint
> Version: 0.18.0-1
> Severity: important
>
>
> So I have a set of Python files with quite a lot of warnings which will
> take qute some time to fix. So for now I'd like to have make call pylint to
> report only errors and the warning W0611.
>
> The obvious way to do so would be:
>
>    pylint -e --enable-msg=W0611 ...
>
> But that does not work. In fact it turns our that once a warning has been
> disabled through -e, --disable-msg-cat or --disable-msg, it cannot be
> reenabled, no matter what order the options are in. The disable directives
> always have priority.
>
> So as is --enable-msg is completely useless and it's not possible to enable
> a specific message.

I've submitted your issue in Pylint's bugtracker (see above). 

Please communicate directly with the upstream authors when facing issues. To 
subscribe to the (low traffic) mailing list, please visit 
http://lists.logilab.org/mailman/listinfo/python-projects 

If you prefer writing in french, use 
http://lists.logilab.org/mailman/listinfo/forum-fr

We will do our best to help you and find ways to do what you need with pylint. 

-- 
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science






More information about the Python-apps-team mailing list