[Python-projects] pylint suggestion

Alexandre Fayolle alexandre.fayolle at logilab.fr
Tue Jul 21 17:37:07 CEST 2009


Le Tuesday 21 July 2009 16:26:37 Okko.Willeboordse at imtech.nl, vous avez 
écrit :
> Hello,
>
> When I run pylint through pylint.bat I do not get the return code of
> pylint. pylint.bat always returns 0
>
> Could you please add 'exit(ERRORLEVEL)' after the exit: label to solve
> this?

This has been added in the repository and will be available in the next 
release. Thank you very much for the patch. 

> rem -------------------- DOS section --------------------
> rem You could set PYTHONPATH or TK environment variables here
> python -x "%~f0" %* 2>NUL

Why are you throwing away the standard error ? 



-- 
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science



More information about the Python-Projects mailing list