From dd83797bf979ebddf8f85920ae7e7189eb1077fe Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Sun, 22 Sep 2013 12:06:37 +0300 Subject: 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 --- ChangeLog | 2 ++ __main__.py | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 __main__.py 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() -- cgit v1.2.1