Skip to content

Commit

Permalink
chore: bump python-lsp-server[all] from 1.8.2 to 1.9.0 (#142)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rafał Chłodnicki <rchl2k@gmail.com>
  • Loading branch information
dependabot[bot] and rchl authored Jan 12, 2024
1 parent 37996e5 commit 5dfcc27
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
10 changes: 9 additions & 1 deletion LSP-pylsp.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@
"pylsp.plugins.flake8.config": null,
// Exclude files or directories which match these patterns.
"pylsp.plugins.flake8.exclude": null,
// List of errors and warnings to append to ignore list.
"pylsp.plugins.flake8.extendIgnore": [],
// Path to the flake8 executable.
"pylsp.plugins.flake8.executable": "flake8",
// When parsing directories, only check filenames matching these patterns.
Expand Down Expand Up @@ -254,8 +256,14 @@
"pylsp.plugins.ruff.severities": null,

// --- rope_autoimport settings ---
// Enable or disable autoimport.
// Enable or disable autoimport. If false, neither completions nor code actions are enabled. If true, the
// respective features can be enabled or disabled individually.
"pylsp.plugins.rope_autoimport.enabled": false,
// Enable or disable autoimport completions.
"pylsp.plugins.rope_autoimport.completions.enabled": true,
// Enable or disable autoimport code actions (e.g. for quick fixes).
"pylsp.plugins.rope_autoimport.code_actions.enabled": true,

// Make the autoimport database memory only. Drastically increases startup time.
"pylsp.plugins.rope_autoimport.memory": false,

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ pyls-isort==0.2.2
pylsp-mypy==0.6.8
python-lsp-black==2.0.0
python-lsp-ruff==2.0.2
python-lsp-server[all]==1.8.2
python-lsp-server[all]==1.9.0
21 changes: 20 additions & 1 deletion sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@
"uniqueItems": true,
"description": "Exclude files or directories which match these patterns."
},
"pylsp.plugins.flake8.extendIgnore": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "List of errors and warnings to append to ignore list."
},
"pylsp.plugins.flake8.filename": {
"type": [
"array",
Expand Down Expand Up @@ -487,7 +496,17 @@
"pylsp.plugins.rope_autoimport.enabled": {
"type": "boolean",
"default": false,
"description": "Enable or disable autoimport."
"description": "Enable or disable autoimport. If false, neither completions nor code actions are enabled. If true, the respective features can be enabled or disabled individually."
},
"pylsp.plugins.rope_autoimport.completions.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable autoimport completions."
},
"pylsp.plugins.rope_autoimport.code_actions.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable autoimport code actions (e.g. for quick fixes)."
},
"pylsp.plugins.rope_autoimport.memory": {
"type": "boolean",
Expand Down

0 comments on commit 5dfcc27

Please sign in to comment.