summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorroot <devnull@localhost>2006-04-26 10:48:09 +0000
committerroot <devnull@localhost>2006-04-26 10:48:09 +0000
commiteea76f1da01a33dec2afc42119e001e4350aaea2 (patch)
tree3bb03a16daa8c780bf60c622dc288eb01cfca145 /bin
downloadpylint-eea76f1da01a33dec2afc42119e001e4350aaea2.tar.gz
forget the past.
forget the past.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pylint4
-rwxr-xr-xbin/pylint-gui4
-rw-r--r--bin/pylint-gui.bat20
-rw-r--r--bin/pylint.bat19
-rwxr-xr-xbin/symilar3
-rw-r--r--bin/symilar.bat20
6 files changed, 70 insertions, 0 deletions
diff --git a/bin/pylint b/bin/pylint
new file mode 100755
index 0000000..e20e031
--- /dev/null
+++ b/bin/pylint
@@ -0,0 +1,4 @@
+#!/usr/bin/env python
+import sys
+from pylint import lint
+lint.Run(sys.argv[1:])
diff --git a/bin/pylint-gui b/bin/pylint-gui
new file mode 100755
index 0000000..847ef3a
--- /dev/null
+++ b/bin/pylint-gui
@@ -0,0 +1,4 @@
+#!/usr/bin/env python
+import sys
+from pylint import gui
+gui.Run(sys.argv[1:])
diff --git a/bin/pylint-gui.bat b/bin/pylint-gui.bat
new file mode 100644
index 0000000..68d552e
--- /dev/null
+++ b/bin/pylint-gui.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 import gui
+gui.Run(sys.argv[1:])
+
+
+DosExitLabel = """
+:exit
+rem """
+
+
diff --git a/bin/pylint.bat b/bin/pylint.bat
new file mode 100644
index 0000000..772735a
--- /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 """
+
+
diff --git a/bin/symilar b/bin/symilar
new file mode 100755
index 0000000..7ca139f
--- /dev/null
+++ b/bin/symilar
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from pylint.checkers import similar
+similar.run()
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 """
+
+