Jonathan Hartley wrote:
On 21/01/2010 21:08, Daniel Harding wrote:
I would make one improvement on what you have, and simply pass the code
to python using the -c command line option. This removes the need for
an additional file. pylint.bat then becomes:
@echo off
python -c "import sys; from pylint import lint;
lint.Run(sys.argv[1:])" %*
Genius. By jove, I think we've cracked it. :-)
If no-one points out any outrageous idiocy in this idea then I'll see if
I can put together a patch to submit, if that's helpful.
Sounds good to me. Let me know if I can be any help.
-Daniel
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects