[Python-projects] PyLint Configuration
Maarten ter Huurne
maarten.ter.huurne at philips.com
Mon Jun 26 15:41:57 CEST 2006
You wrote on 2006-06-23 06:31:11 PM:
> We can see in the configuration file how to disable or enable checkers,
> but *not* how to disable individual messages. (and we couldn't find any
> documentation for the configuration file.)
In the "[REPORTS]" section of pylintrc, add a line like this:
disable-msg=C0111,W0142,R0201
I had trouble with this as well until someone on this list explained it to
me. Maybe this item should be added to the FAQ?
By the way, if you want to disable messages for only parts of the code,
you can use comments like this:
# pylint: disable-msg=W0613
Bye,
Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.logilab.org/pipermail/python-projects/attachments/20060626/d1e5fcef/attachment.htm
More information about the Python-Projects
mailing list