Skip to content

Commit

Permalink
Executable is python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Gilbey authored and jspricke committed Nov 15, 2023
1 parent 3525e8b commit face003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylsp/plugins/pylint_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def _run_pylint_stdio(pylint_executable, document, flags):
p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
except IOError:
log.debug("Can't execute %s. Trying with 'python -m pylint'", pylint_executable)
cmd = ["python", "-m", "pylint"]
cmd = ["python3", "-m", "pylint"]
cmd.extend(flags)
cmd.extend(["--from-stdin", document.path])
p = Popen( # pylint: disable=consider-using-with
Expand Down

0 comments on commit face003

Please sign in to comment.