public
Created

spyder 2.2.4 patch for python2-pylint

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
diff -rupN spyder-2.2.4/spyderplugins/widgets/pylintgui.py spyder-2.2.4-patched/spyderplugins/widgets/pylintgui.py
--- spyder-2.2.4/spyderplugins/widgets/pylintgui.py 2013-09-04 21:04:18.000000000 +0200
+++ spyder-2.2.4-patched/spyderplugins/widgets/pylintgui.py 2013-09-08 21:32:02.000000000 +0200
@@ -40,7 +40,7 @@ from spyderlib.widgets.comboboxes import
_ = get_translation("p_pylint", dirname="spyderplugins")
-PYLINT_PATH = programs.find_program('pylint')
+PYLINT_PATH = programs.find_program('pylint2')
def get_pylint_version():
@@ -53,8 +53,8 @@ def get_pylint_version():
pylint_exe_name = 'pylint-script.py'
else:
shell = False
- pylint_exe_name = 'pylint'
- process = subprocess.Popen(['pylint', '--version'],
+ pylint_exe_name = 'pylint2'
+ process = subprocess.Popen(['pylint2', '--version'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
cwd=osp.dirname(PYLINT_PATH), shell=shell)
lines = to_unicode_from_fs(process.stdout.read()).splitlines()

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.