> There are already message categories, but maybe "policies" could be added to 
> group options and enable/disable the whole group of messages at once.

How about this: add the concept of "profile" or "policy", which is more or less 
a selectable addendum to .pylintrc, loaded before .pylintrc, let it have the 
same format as that (re-use pylintrc reader code), and merge it (in memory) 
with the user-specific .pylintrc.

pylint then could distribute pre-defined profiles (pylint/profiles/default.rc, 
pylint/profiles/pep8.rc, pylint/profiles/all.rc), and in addition look at 
~/.pylint/profiles for locally defined profiles.

You could then do things like "pylint -P pep8 mypkg", or "pylint -P 
seldom_but_detailed mypkg".
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to