summaryrefslogtreecommitdiff
path: root/bin/epylint.bat
diff options
context:
space:
mode:
Diffstat (limited to 'bin/epylint.bat')
-rw-r--r--bin/epylint.bat16
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/epylint.bat b/bin/epylint.bat
new file mode 100644
index 0000000..a506782
--- /dev/null
+++ b/bin/epylint.bat
@@ -0,0 +1,16 @@
+@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 --------------------
+from pylint import epylint
+epylint.Run()
+
+
+DosExitLabel = """
+:exit
+rem """