[Python-projects] PyLint Configuration

Michael Foord fuzzyman at voidspace.org.uk
Fri Jun 23 18:31:11 CEST 2006


Hello all,

We're now using PyLint as part of our build process to check code quality.

We would like to have about fifty of the messages enables (at least some 
from each checker), but a few disabled.

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

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 !

Please show us a better way...

We would also like to pass a list of packages in. It *looks* like pylint 
will only check one package at a time. Is it possible to get it to do 
several ?

We also think we may have unused functions or methods in some of our 
modules/classes. We didn't see any warnings for this. Can pylint 
accurately detect unused functions/methods across packages ?

All the best,


Michael Foord
http://www.resolversystems.com
http://www.voidspace.org.uk/python/index.shtml


More information about the Python-Projects mailing list