diff options
author | root <none@none> | 2006-04-26 10:48:09 +0000 |
---|---|---|
committer | root <none@none> | 2006-04-26 10:48:09 +0000 |
commit | 4becf6f9e596b45401680c4947e2d92c953d5e08 (patch) | |
tree | 3bb03a16daa8c780bf60c622dc288eb01cfca145 /bin/pylint.bat | |
download | pylint-git-4becf6f9e596b45401680c4947e2d92c953d5e08.tar.gz |
forget the past.
forget the past.
Diffstat (limited to 'bin/pylint.bat')
-rw-r--r-- | bin/pylint.bat | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/pylint.bat b/bin/pylint.bat new file mode 100644 index 000000000..772735ac7 --- /dev/null +++ b/bin/pylint.bat @@ -0,0 +1,19 @@ +@echo off
+rem = """-*-Python-*- script
+rem -------------------- DOS section --------------------
+rem You could set PYTHONPATH or TK environment variables here
+python -x %~f0 %*
+goto exit
+
+"""
+# -------------------- Python section --------------------
+import sys
+from pylint import lint
+lint.Run(sys.argv[1:])
+
+
+DosExitLabel = """
+:exit
+rem """
+
+
|