forked from pool/python-python-lsp-server
Accepting request 1045987 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.7.0 * Add a new plugin to provide autoimport functionality (disabled by default). * Add progress reporting. * Make jedi_definition plugin follow definitions to pyi files. * Add support for flake8 version 6. * Add support for Yapf ignore patterns. * Add mccabe setting to flake8 plugin. - Drop python-lsp-server-pr316-flake8v6.patch upstreamed * gh#python-lsp/python-lsp-server#316 - Add python-lsp-server-pr327-sys-executable.patch * gh#python-lsp/python-lsp-server#327 OBS-URL: https://build.opensuse.org/request/show/1045987 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=29
This commit is contained in:
13
python-lsp-server-pr327-sys-executable.patch
Normal file
13
python-lsp-server-pr327-sys-executable.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/pylsp/plugins/pylint_lint.py b/pylsp/plugins/pylint_lint.py
|
||||
index 452f45b..222cdb8 100644
|
||||
--- a/pylsp/plugins/pylint_lint.py
|
||||
+++ b/pylsp/plugins/pylint_lint.py
|
||||
@@ -85,7 +85,7 @@ class PylintLinter:
|
||||
return cls.last_diags[document.path]
|
||||
|
||||
cmd = [
|
||||
- 'python',
|
||||
+ sys.executable,
|
||||
'-c',
|
||||
'import sys; from pylint.lint import Run; Run(sys.argv[1:])',
|
||||
'-f',
|
Reference in New Issue
Block a user