summaryrefslogtreecommitdiff
path: root/pylint/epylint.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/epylint.py')
-rwxr-xr-xpylint/epylint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/epylint.py b/pylint/epylint.py
index 9de061967..0b714fb4e 100755
--- a/pylint/epylint.py
+++ b/pylint/epylint.py
@@ -87,9 +87,9 @@ def lint(filename, options=None):
# Ensure we use the python and pylint associated with the running epylint
run_cmd = "import sys; from pylint.lint import Run; Run(sys.argv[1:])"
options = options or ['--disable=C,R,I']
- cmd = [sys.executable, "-c", run_cmd] + options + [
+ cmd = [sys.executable, "-c", run_cmd] + [
'--msg-template', '{path}:{line}: {category} ({msg_id}, {symbol}, {obj}) {msg}',
- '-r', 'n', child_path]
+ '-r', 'n', child_path] + options
process = Popen(cmd, stdout=PIPE, cwd=parent_path, env=_get_env(),
universal_newlines=True)