[Python-projects] pylint - one error at a time

Duncan Gibson duncan at thermal.esa.int
Wed Dec 13 09:40:15 CET 2006


I wrote:
> > I've just introduced someone else to pylint for his [inherited] code.
> > He wants to be able to work though each message type, one by one, but
> > found that 'pylint --disable-all --enable-msg=XYZ file.py' simply
> > disables all of the messages.

Barry Scott replied:
> Why not grep the output for the message that you are focusing on?

Yes, he could do that, but that would remove all of the pylint summary
and report information too. Plus, I didn't think about it at the time
because I was concentrating on showing him pylint's nifty features :-)

I was just surprised that something so logical didn't appear to work.

D.


More information about the Python-Projects mailing list