] > Re: [Python-projects] PyLint 0.21 error/warning output patch (Logilab.org)

Email Re: [Python-projects] PyLint 0.21 error/warning output patch

from
to
Daniel Woods Bullok <dan at bullok dot com>
subject
Re: [Python-projects] PyLint 0.21 error/warning output patch
date
2003/12/23 15:55
On Saturday 20 December à 13:31, Daniel Woods Bullok wrote:
> The output for errors/warnings in PyLint doesn't match the format that many
> 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.

That was in my TODO list... Unfortunatly, I've just released a new
version a few minutes ago, so this'll have to go in the next one,
hopefully in january. Anyway, thanks for your patch !

cheers
-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects


is a reply to