summaryrefslogtreecommitdiff
path: root/__main__.py
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2013-09-22 12:06:37 +0300
committeranatoly techtonik <techtonik@gmail.com>2013-09-22 12:06:37 +0300
commitdd83797bf979ebddf8f85920ae7e7189eb1077fe (patch)
tree0c876eeb749f4ba723a8ac66973e10b307d124bb /__main__.py
parentedcddebadd990e43a30f7a07b8efca0a02646964 (diff)
downloadpylint-dd83797bf979ebddf8f85920ae7e7189eb1077fe.tar.gz
Run as a python module 'python -m pylint'.
Convenience feature on Windows, where Python scripts are never added to %PATH% directories by default. python -m pip install pylint python -m pylint
Diffstat (limited to '__main__.py')
-rw-r--r--__main__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/__main__.py b/__main__.py
new file mode 100644
index 0000000..7716361
--- /dev/null
+++ b/__main__.py
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+import pylint
+pylint.run_pylint()