[Python-projects] PyLint Configuration

Ludovic Aubry ludal at logilab.fr
Mon Jun 26 15:46:03 CEST 2006


Hi

On Fri, Jun 23, 2006 at 05:31:11PM +0100, Michael Foord wrote:
> 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.)
You can put

disable-msg=Wxxxx,Cyyyy

in the [REPORTS] section of your pylintrc file


> 
> We can see how to do this from the command line - so currently we have a 
> little script that generates very long command line calls to pylint.bat 
> for us !
> 
Also, whenever you're trying to turn a command line option into an entry
in pylintrc you can try :

pylint --my-list-of-options --generate-rcfile

which will create a pylintrc file including the command line options you
specified

regards,

-- 
Ludovic Aubry                                 LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org


More information about the Python-Projects mailing list