[Python-projects] Non-line-number-specific warnings shouldreference an actual line

Maarten ter Huurne maarten.ter.huurne at philips.com
Mon Jul 17 16:39:03 CEST 2006


python-projects-bounces at lists.logilab.org wrote on 2006-07-14 10:41:26 PM:

> PyLint files these complaints for a couple of my modules:
> 
>     Relationship.py:0: [W] Too many lines in module (1048)
>     tr_template.py:0: [R] Similar lines in 3 files
> 
> I have no quibble with the errors themselves, but they should reference
> actual line numbers in the files.  Line 1 seems reasonable.  Line 0 
confuses
> XEmacs's next-error command and it winds up prompting me for a file to 
open.

Since the error does not apply to a specific line, maybe it's better to 
omit the line number completely? Or would that confuse Emacs as well?

Bye,
                Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.logilab.org/pipermail/python-projects/attachments/20060717/3b8f0f72/attachment.html


More information about the Python-Projects mailing list