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."
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
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
(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
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
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
___
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
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