okko.willeboor...@imtech.nl wrote:
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 change was made in changeset 75fca2f13e26 and released in pylint 0.18.1. However, now anytime pylint is run from a cmd.exe shell on Windows, the exit call closes the shell, even if just doing something like 'pylint --help'. This makes pylint essentially unusable from the Windows command shell. I appreciate the desire to be able to determine the return code of pylint, but I would suggest that this be implemented using a separate script rather than introducing a regression into the existing pylint.bat. Daniel Harding _______________________________________________ Python-Projects mailing list Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects