Skip to content

Commit 9d33ab0

Browse files
authored
Use sys.executable instead of python in Pylint plugin (#327)
1 parent 2b3ac73 commit 9d33ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylsp/plugins/pylint_lint.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def lint(cls, document, is_saved, flags=''):
8585
return cls.last_diags[document.path]
8686

8787
cmd = [
88-
'python',
88+
sys.executable,
8989
'-c',
9090
'import sys; from pylint.lint import Run; Run(sys.argv[1:])',
9191
'-f',

0 commit comments

Comments
 (0)