from
Daniel Woods Bullok <dan at bullok dot com>
to
Python-Projects <python-projects at lists dot logilab dot org>
subject
[Python-projects] PyLint 0.21 error/warning output patch
date
The output for errors/warnings in PyLint doesn't match the format that many2003/12/20 13:31
editors expect. Standard format is <filename>:<linenum>: blah, blah, blah.
The following patch to reporters/text.py changes the output so that
double-clicking (or whatever) on an error or warning will take you to that
line in many editors.
51c51
< print >>self.out, '%s:%3s%s: %s' % (sigle, line, object, msg)
---
> print >>self.out, '%s.py:%s:%s%s: %s' % (module, line, sigle, object, msg)
It would be nice if this were at least an option in the next release. It's
so much easier to track down errors and warnings.
-Dan
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects
