Hi all,

I'd like to do a sweep of my code to just pick up warnings related to
unnecessary imports.

So I ran pylint -d I,R,C,W -e W0611,W0404

using pylint 0.21, which worked. I then generated an rc file so I
wouldn't have to remember
this command line, and the relevant part looked like this:

[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifier separated by comma (,) or put this option
# multiple time.
disable=I,R,C,W

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time.
enable=W0611,W0404

but now it doesn't work any more, everything is just disabled. I guess
it depends in
which order "enable" and "disable" are handled.

Is there some other way to do this? It worked in the previous version
when categories
and messages were enabled and disabled separately.

Regards,
Geoff Bache
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to