diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-12-20 17:07:15 +0100 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-12-20 17:07:15 +0100 |
commit | 147a73a3ce8c91d61e3448fed3a8e9e763cf6750 (patch) | |
tree | 4c76fd429bda4b0c1e1d862d843765a81ac11044 | |
parent | 4751e5f3a16df93637e6d56b03bd4605a70c5db4 (diff) | |
download | pylint-147a73a3ce8c91d61e3448fed3a8e9e763cf6750.tar.gz |
fix way to get pylint.lint file as suggested in issue #106
-rwxr-xr-x | epylint.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -76,7 +76,8 @@ def lint(filename, options=None): # Start pylint # Ensure we use the python and pylint associated with the running epylint - lintPath = os.path.join(os.path.dirname(__file__), 'lint.py') + from pylint import lint + lintPath = lint.__file__ options = options or ['--disable=C,R,I'] cmd = [sys.executable, lintPath] + options + ['--msg-template', '{path}:{line}: [{symbol}, {obj}] {msg}', '-r', 'n', childPath] |