On Thu, May 06, 2010 at 07:47:28PM +0200, Tayssir John Gabbour wrote:
> Hi!
> 
> Is there a convenient way to call Pylint from within Python, rather
> than executing it and writing a parser for its text output? In
> Mercurial, I took a look at the tests and examples, but it didn't seem
> obvious to me.

Our Continous Integration tool (apycot) is calling Pylint from within Python.
You can read the relevant code here :

Invocation of pylint:

    
http://hg.logilab.org/apycotbot/file/91c0a163b12d/checkers/chks_python.py#l531

Result handling:

    
http://hg.logilab.org/apycotbot/file/91c0a163b12d/checkers/chks_python.py#l596


Regards

--
Pierre-Yves David

Attachment: signature.asc
Description: Digital signature

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

Reply via email to