Re: [Python-projects] another proposed pylint.bat exit value fix

2010-01-21 Thread Jonathan Hartley
On 21/01/2010 21:08, Daniel Harding wrote: Jonathan Hartley wrote: Hi, I didn't see anyone follow up on Daniel Harding's assertion that his adapted pylint.bat fix could be improved to "detect and remove the --exitcode parameter from any position in the argument list."

Re: [Python-projects] another proposed pylint.bat exit value fix

2010-01-21 Thread Jonathan Hartley
For reasons I can't explain, the scripts I describe below work for me. However my foolish intellect insists that perhaps pylint-script.py should actually read: import sys from pylint import lint sys.exit(lint.Run(sys.argv[1:])) (ie. explicitly calling sys.exit) Jonathan Ha

[Python-projects] another proposed pylint.bat exit value fix

2010-01-21 Thread Jonathan Hartley
the last line of this file always has to be [rem """]. So I decided to try a solution which replaced pylint.bat with a straight .bat file and a separate .py file. Jonathan Jonathan Hartley Made of meat. http://tartley.com tart...@tartley.com +44 7737 062 2

Re: [Python-projects] pylint suggestion

2009-12-31 Thread Jonathan Hartley
(ERRORVALUE) (2) From 'pylint --help', there is a command-line switch: --indent-string= String used as indentation unit. This is usually "" (4 spaces) or "\t" (1 tab). [current: ' '] Best regards, Jonathan Jonat

Re: [Python-projects] pylint suggestion

2009-12-30 Thread Jonathan Hartley
Daniel's pylint.bat works fine for me, WindowsXP, Python 2.6.4. Jonathan Hartley Made of meat. http://tartley.com tart...@tartley.com +44 7737 062 225 twitter/skype: tartley On 29/12/2009 22:00, Daniel Harding wrote: Pierre Rouleau wrote: Unfortunately, the pylint.bat fi

Re: [Python-projects] pylint suggestion

2009-12-23 Thread Jonathan Hartley
exit with /B (or not call exit at all?), whereas invoking: pylint.bat --exitvalue would call exit(ERRORLEVEL) as currently. Jonathan Hartley Made of meat. http://tartley.com tart...@tartley.com +44 7737 062 225 twitter/skype: tartley ___

Re: [Python-projects] [ANN] pylint 0.19 / astng 0.19.2

2009-12-18 Thread Jonathan Hartley
m logilab.astng._nodes import Proxy_, List, Tuple, Function, If, TryExcept ImportError: No module named _nodes Am I doing it wrong? Best regards, Jonathan Jonathan Hartley Made of meat. http://tartley.com tart...@tartley.com +44 7737 062 225 twitter/skype: tartley

[Python-projects] running pylint closes my console (even with just --help)

2009-11-28 Thread jonathan hartley
try? Many thanks, best regards, Jonathan -- Jonathan Hartley Made of meat. http://tartley.com tart...@tartley.com +44 7737 062 225 twitter/skype: tartley ___ Python-Projects mailing list Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects