emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] pylint to org reporting


From: Andrea Crotti
Subject: [O] pylint to org reporting
Date: Wed, 07 Dec 2011 16:23:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111108 Thunderbird/8.0

Since I've been studying PyLint a little bit I tried to write my own
reporter, and in particular I wrote a reporter that writes in org-mode
;)

For example running (on a random source file):
org_pylint_reporter.py src_obj_check.py
I get something like:

* TODO [[file:/home/andrea/pydbgr/PIL.PcdImagePlugin.py::49][PIL.PcdImagePlugin]] :W0511: * TODO [[file:/home/andrea/pydbgr/PIL.PcdImagePlugin.py::1][PIL.PcdImagePlugin]] :C0111:

Where the tag is the error and then we have a nice "jumpable" org-link
to the offending line.

Not sure what to do with it yet, but something cool like bug tracking in
org-mode might come out of this, hope it's of inspiration for someone
else at least :)

The whole script is here:
https://github.com/AndreaCrotti/scripts/blob/master/org_pylint_reporter.py



reply via email to

[Prev in Thread] Current Thread [Next in Thread]