[Python-projects] Pylint 1.12.1 no longer reads my .pylintrc file
Marien Zwart
marienz at gentoo.org
Wed Sep 27 01:52:06 CEST 2006
(just sent this to just Skip Montanaro instead of the list, so he will
get it twice, sorry)
On Tue, Sep 26, 2006 at 02:35:20PM -0500, skip at pobox.com wrote:
> I upgraded from 0.11.0 to 0.12.1 today. Pylint seems to ignore my
> ~/.pylintrc file, even when I use the --rcfile command line flag.
> Specifically, it ignores my parseable=yes setting and my
> disable-msg=C0301,C0111,C0121,C0103,W0142,E1101 line. I saw no mention of
> any seemingly relevant changes to this functionality in the ChangeLog. My
> platform is Solaris 10, Python 2.4.2.
I thought I hit the same thing, but it is just a somewhat obfuscated
change, I think. The settings for --{enable,disable}-{checker,msg-cat,msg}
moved from the "MASTER" section to the "MESSAGES CONTROL" section.
This is (somewhat) indicated in pylint --help. Unfortunately it looks
like pylint --generate-rcfile omits options with no value set and
entire sections if they have no options set, so it took me a while to
figure this out.
Not sure how that could be improved, but a way to generate a complete
rcfile (even including unset and default settings) might be helpful
(or is that already there and did I just miss it?)
--
Marien.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logilab.org/pipermail/python-projects/attachments/20060927/66446504/attachment.pgp
More information about the Python-Projects
mailing list