summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <thenault@gmail.com>2013-09-25 09:05:58 +0200
committerSylvain Th?nault <thenault@gmail.com>2013-09-25 09:05:58 +0200
commit023b225765346f2026f714aec31ee57c4b8da5b5 (patch)
tree147e6c16681b7b077d854af9b361f643f214b291
parented12c11d8c88c029d05e86433655e8e626536a3b (diff)
parentdd83797bf979ebddf8f85920ae7e7189eb1077fe (diff)
downloadpylint-023b225765346f2026f714aec31ee57c4b8da5b5.tar.gz
Merged in techtonik/pylint (pull request #57)
Run as a python module 'python -m pylint'.
-rw-r--r--ChangeLog2
-rw-r--r--__main__.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3662602..c7a65af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@ ChangeLog for Pylint
====================
--
+ * Run pylint as a python module 'python -m pylint' (anatoly techtonik)
+
* Check for non-exception classes inside an except clause
* epylint support options to give to pylint after the file to analyze and
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()