summaryrefslogtreecommitdiff
path: root/bin/symilar.bat
diff options
context:
space:
mode:
Diffstat (limited to 'bin/symilar.bat')
-rw-r--r--bin/symilar.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/symilar.bat b/bin/symilar.bat
new file mode 100644
index 0000000..5c9bd0e
--- /dev/null
+++ b/bin/symilar.bat
@@ -0,0 +1,20 @@
+@echo off
+rem = """-*-Python-*- script
+@echo off
+rem -------------------- DOS section --------------------
+rem You could set PYTHONPATH or TK environment variables here
+python -x %~f0 %*
+goto exit
+
+"""
+# -------------------- Python section --------------------
+import sys
+from pylint.checkers import similar
+similar.run()
+
+
+DosExitLabel = """
+:exit
+rem """
+
+