On 16 juin 12:35, John Fawcett wrote:
> I think I have it working - I submitted two patches: one to add the column
> offset to astng nodes, and then another for pylint to report on it.
> 
> In the pylint patch, I left the parseable format unchanged, because I
> thought there may be compatibility issues for users of parseable. selfishly,
> i just wanted this info to be passed up to the add_message of my custom
> reporter, which I guess could create compatibility problems too. the tuple
> passed to add_message now has 4 elements instead of 3, the 4th being the
> offset (or zero).
> 
> let me know if you want me to make any changes.

all that seems perfect. I've done a minor change to your astng patch
(see on the ticket). The only thing I'm not sure about is wether we
should include that information on the default text reporter. I've 
applied it anyway, it will be easy to remove if people find this 
information borring.

Many thanks for your contribution, best regards,
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to