[Python-projects] Pylint 1.12.1 no longer reads my .pylintrc file

Maarten ter Huurne maarten.ter.huurne at philips.com
Thu Sep 28 16:49:55 CEST 2006


Marien Zwart wrote on 2006-09-27 01:52:06 AM:

> 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?)

It is possible to solve this, but it would require significant changes to 
PyLint:
- if the rcfile format changes, PyLint will have to include parser for the 
old format and a parser for the new format
- the rcfile would have to include a version number at the start, so 
PyLint knows which parser to use
- with "--generate-rcfile" the user can convert an old format rcfile to a 
new format one

Bye,
                Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.logilab.org/pipermail/python-projects/attachments/20060928/86f6923b/attachment.html


More information about the Python-Projects mailing list