summaryrefslogtreecommitdiff
path: root/epylint.py
diff options
context:
space:
mode:
authorManuel Vázquez Acosta <mva.led@gmail.com>2014-04-14 16:25:34 -0400
committerManuel Vázquez Acosta <mva.led@gmail.com>2014-04-14 16:25:34 -0400
commitdb303eb0c3ef4ed77ba01de7e1193028961590b8 (patch)
tree15b5da29d8d9a9cd6a98fa1b5c412e10dd0bf000 /epylint.py
parentd3a07fc7ef3b28ab027bdb9769f78f561e50a999 (diff)
downloadpylint-git-db303eb0c3ef4ed77ba01de7e1193028961590b8.tar.gz
Fix merge error. Closes #133.
Diffstat (limited to 'epylint.py')
-rwxr-xr-xepylint.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/epylint.py b/epylint.py
index 87ad79374..2e70ae45b 100755
--- a/epylint.py
+++ b/epylint.py
@@ -87,8 +87,9 @@ def lint(filename, options=None):
from pylint import lint as lint_mod
lint_path = lint_mod.__file__
options = options or ['--disable=C,R,I']
- cmd = [sys.executable, lint_path] + options + ['--msg-template',
- '{path}:{line}: [{symbol}, {obj}] {msg}', '-r', 'n', child_path]
+ cmd = [sys.executable, lint_path] + options + [
+ '--msg-template', '{path}:{line}: {category} ({msg_id}, {symbol}, {obj}) {msg}',
+ '-r', 'n', child_path]
process = Popen(cmd, stdout=PIPE, cwd=parent_path, env=_get_env(),
universal_newlines=True)