Closed dependabot[bot] closed 9 months ago
@dependabot rebase
Following are the schema changes between tags v1.8.2
and v1.9.0
. Make sure that those are reflected in LSP-pylsp.sublime-settings
and sublime-package.json
files.
--- /dev/fd/63 2024-01-12 23:13:02.854337998 +0000
+++ /dev/fd/62 2024-01-12 23:13:02.854337998 +0000
@@ -6,11 +6,16 @@
"properties": {
"pylsp.configurationSources": {
"type": "array",
- "default": ["pycodestyle"],
+ "default": [
+ "pycodestyle"
+ ],
"description": "List of configuration sources to use.",
"items": {
"type": "string",
- "enum": ["pycodestyle", "flake8"]
+ "enum": [
+ "pycodestyle",
+ "flake8"
+ ]
},
"uniqueItems": true
},
@@ -20,7 +25,10 @@
"description": "Enable or disable the plugin (disabling required to use `yapf`)."
},
"pylsp.plugins.flake8.config": {
- "type": ["string", "null"],
+ "type": [
+ "string",
+ "null"
+ ],
"default": null,
"description": "Path to the config file that will be the authoritative config source."
},
@@ -37,18 +45,32 @@
},
"description": "List of files or directories to exclude."
},
+ "pylsp.plugins.flake8.extendIgnore": {
+ "type": "array",
+ "default": [],
+ "items": {
+ "type": "string"
+ },
+ "description": "List of errors and warnings to append to ignore list."
+ },
"pylsp.plugins.flake8.executable": {
"type": "string",
"default": "flake8",
"description": "Path to the flake8 executable."
},
"pylsp.plugins.flake8.filename": {
- "type": ["string", "null"],
+ "type": [
+ "string",
+ "null"
+ ],
"default": null,
"description": "Only check for filenames matching the patterns in this list."
},
"pylsp.plugins.flake8.hangClosing": {
- "type": ["boolean", "null"],
+ "type": [
+ "boolean",
+ "null"
+ ],
"default": null,
"description": "Hang closing bracket instead of matching indentation of opening bracket's line."
},
@@ -66,17 +88,25 @@
"description": "Maximum allowed complexity threshold."
},
"pylsp.plugins.flake8.maxLineLength": {
- "type": ["integer", "null"],
+ "type": [
+ "integer",
+ "null"
+ ],
"default": null,
"description": "Maximum allowed line length for the entirety of this run."
},
"pylsp.plugins.flake8.indentSize": {
- "type": ["integer", "null"],
+ "type": [
+ "integer",
+ "null"
+ ],
"default": null,
"description": "Set indentation spaces."
},
"pylsp.plugins.flake8.perFileIgnores": {
- "type": ["array"],
+ "type": [
+ "array"
+ ],
"default": [],
"items": {
"type": "string"
@@ -84,7 +114,10 @@
"description": "A pairing of filenames and violation codes that defines which violations to ignore in a particular file, for example: `[\"file_path.py:W305,W304\"]`)."
},
"pylsp.plugins.flake8.select": {
- "type": ["array", "null"],
+ "type": [
+ "array",
+ "null"
+ ],
"default": null,
"items": {
"type": "string"
@@ -94,7 +127,9 @@
},
"pylsp.plugins.jedi.auto_import_modules": {
"type": "array",
- "default": ["numpy"],
+ "default": [
+ "numpy"
+ ],
"items": {
"type": "string"
},
@@ -109,12 +144,18 @@
"description": "Define extra paths for jedi.Script."
},
"pylsp.plugins.jedi.env_vars": {
- "type": ["object", "null"],
+ "type": [
+ "object",
+ "null"
+ ],
"default": null,
"description": "Define environment variables for jedi.Script and Jedi.names."
},
"pylsp.plugins.jedi.environment": {
- "type": ["string", "null"],
+ "type": [
+ "string",
+ "null"
+ ],
"default": null,
"description": "Define environment for jedi.Script and Jedi.names."
},
@@ -158,7 +199,12 @@
"items": {
"type": "string"
},
- "default": ["pandas", "numpy", "tensorflow", "matplotlib"],
+ "default": [
+ "pandas",
+ "numpy",
+ "tensorflow",
+ "matplotlib"
+ ],
"description": "Modules for which labels and snippets should be cached."
},
"pylsp.plugins.jedi_definition.enabled": {
@@ -259,7 +305,10 @@
"description": "When parsing directories, only check filenames matching these patterns."
},
"pylsp.plugins.pycodestyle.select": {
- "type": ["array", "null"],
+ "type": [
+ "array",
+ "null"
+ ],
"default": null,
"items": {
"type": "string"
@@ -277,17 +326,26 @@
"description": "Ignore errors and warnings"
},
"pylsp.plugins.pycodestyle.hangClosing": {
- "type": ["boolean", "null"],
+ "type": [
+ "boolean",
+ "null"
+ ],
"default": null,
"description": "Hang closing bracket instead of matching indentation of opening bracket's line."
},
"pylsp.plugins.pycodestyle.maxLineLength": {
- "type": ["integer", "null"],
+ "type": [
+ "integer",
+ "null"
+ ],
"default": null,
"description": "Set maximum allowed line length."
},
"pylsp.plugins.pycodestyle.indentSize": {
- "type": ["integer", "null"],
+ "type": [
+ "integer",
+ "null"
+ ],
"default": null,
"description": "Set indentation spaces."
},
@@ -297,9 +355,17 @@
"description": "Enable or disable the plugin."
},
"pylsp.plugins.pydocstyle.convention": {
- "type": ["string", "null"],
- "default": null,
- "enum": ["pep257", "numpy", "google", null],
+ "type": [
+ "string",
+ "null"
+ ],
+ "default": null,
+ "enum": [
+ "pep257",
+ "numpy",
+ "google",
+ null
+ ],
"description": "Choose the basic list of checked errors by specifying an existing convention."
},
"pylsp.plugins.pydocstyle.addIgnore": {
@@ -330,7 +396,10 @@
"description": "Ignore errors and warnings"
},
"pylsp.plugins.pydocstyle.select": {
- "type": ["array", "null"],
+ "type": [
+ "array",
+ "null"
+ ],
"default": null,
"items": {
"type": "string"
@@ -368,14 +437,27 @@
"description": "Arguments to pass to pylint."
},
"pylsp.plugins.pylint.executable": {
- "type": ["string", "null"],
+ "type": [
+ "string",
+ "null"
+ ],
"default": null,
"description": "Executable to run pylint with. Enabling this will run pylint on unsaved files via stdin. Can slow down workflow. Only works with python3."
},
"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",
@@ -398,12 +480,18 @@
"description": "Enable or disable the plugin."
},
"pylsp.rope.extensionModules": {
- "type": ["string", "null"],
+ "type": [
+ "string",
+ "null"
+ ],
"default": null,
"description": "Builtin and c-extension modules that are allowed to be imported and inspected by rope."
},
"pylsp.rope.ropeFolder": {
- "type": ["array", "null"],
+ "type": [
+ "array",
+ "null"
+ ],
"default": null,
"items": {
"type": "string"
Bumps python-lsp-server[all] from 1.8.2 to 1.9.0.
Release notes
Sourced from python-lsp-server[all]'s releases.
Changelog
Sourced from python-lsp-server[all]'s changelog.
Commits
4428a65
Update changelog for 1.9.0 (#482)3e508b1
Revert "Rename_utils
module toutils
" (#481)1c4ad71
Rename_utils
module toutils
(#480)ec876bb
Improve/simplify README Development section (#473)5f53f8e
Raise supported Pylint upper version (#475)2a5a953
Add code completions torope_autoimport
plugin (#471)728929c
Pass argumentextendIgnore
to flake8 (#469)1f415b5
SupportinitializationOptions
to configure the server (#459)b864c4f
Ignore notebook names on cell completion for autoimport (#466)2f2c0e8
Minor bug fix in Rope autoimport plugin (#464)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show