From 297380569ba1dc74c984c0f42471cc0c01c56fa9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 20:49:13 +0100 Subject: [PATCH] chore: bump python-lsp-server[all] from 1.11.0 to 1.12.0 (#171) --- LSP-pylsp.sublime-settings | 4 ++++ requirements.txt | 2 +- sublime-package.json | 13 +++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/LSP-pylsp.sublime-settings b/LSP-pylsp.sublime-settings index fa19e4a..cbfe461 100644 --- a/LSP-pylsp.sublime-settings +++ b/LSP-pylsp.sublime-settings @@ -39,6 +39,8 @@ // --- JEDI configuration --------------------------------------------- // Additional paths to extend the JEDI engine with. "pylsp.plugins.jedi.extra_paths": ["$sublime_py_files_dir", "$packages"], + // Whether to place extra_paths at the beginning (true) or end (false) of `sys.path` + "pylsp.plugins.jedi.prioritize_extra_paths": false, // Define environment for jedi.Script and Jedi.names. // If you are using a virtual environment, specify a path to it to here. For example: "./.venv/myproject", "pylsp.plugins.jedi.environment": null, @@ -116,6 +118,8 @@ "pylsp.plugins.flake8.exclude": null, // List of errors and warnings to append to ignore list. "pylsp.plugins.flake8.extendIgnore": [], + // List of errors and warnings to append to select list. + "pylsp.plugins.flake8.extendSelect": [], // Path to the flake8 executable. "pylsp.plugins.flake8.executable": "flake8", // When parsing directories, only check filenames matching these patterns. diff --git a/requirements.txt b/requirements.txt index d9a3269..096b046 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,4 @@ pyls-isort==0.2.2 pylsp-mypy==0.6.9 python-lsp-black==2.0.0 python-lsp-ruff==2.2.2 -python-lsp-server[all]==1.11.0 +python-lsp-server[all]==1.12.0 diff --git a/sublime-package.json b/sublime-package.json index 6e55e2e..19d37cb 100644 --- a/sublime-package.json +++ b/sublime-package.json @@ -63,6 +63,14 @@ "uniqueItems": true, "description": "List of errors and warnings to append to ignore list." }, + "pylsp.plugins.flake8.extendSelect": { + "type": "array", + "default": [], + "items": { + "type": "string" + }, + "description": "List of errors and warnings to append to select list." + }, "pylsp.plugins.flake8.filename": { "type": [ "array", @@ -163,6 +171,11 @@ "type": "string" } }, + "pylsp.plugins.jedi.prioritize_extra_paths": { + "type": "boolean", + "default": false, + "description": "Whether to place extra_paths at the beginning (true) or end (false) of `sys.path`" + }, "pylsp.plugins.jedi.env_vars": { "type": [ "object",