Skip to content

Commit face003

Browse files
Julian Gilbeyjspricke
Julian Gilbey
authored andcommitted
Executable is python3
1 parent 3525e8b commit face003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylsp/plugins/pylint_lint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def _run_pylint_stdio(pylint_executable, document, flags):
286286
p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
287287
except IOError:
288288
log.debug("Can't execute %s. Trying with 'python -m pylint'", pylint_executable)
289-
cmd = ["python", "-m", "pylint"]
289+
cmd = ["python3", "-m", "pylint"]
290290
cmd.extend(flags)
291291
cmd.extend(["--from-stdin", document.path])
292292
p = Popen( # pylint: disable=consider-using-with

0 commit comments

Comments
 (0)