From a11fb0270a7868b257fe5905b589ae522ed71838 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2024 12:59:31 +0800 Subject: [PATCH] chore(deps): bump pyright from 1.1.373 to 1.1.374 in /language-server (#346) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] --- language-server/package-lock.json | 14 +++++++------- language-server/package.json | 2 +- sublime-package.json | 11 +++++++++++ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/language-server/package-lock.json b/language-server/package-lock.json index 496049e..298ac45 100644 --- a/language-server/package-lock.json +++ b/language-server/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "pyright": "^1.1.373" + "pyright": "^1.1.374" } }, "node_modules/fsevents": { @@ -22,9 +22,9 @@ } }, "node_modules/pyright": { - "version": "1.1.373", - "resolved": "https://registry.npmjs.org/pyright/-/pyright-1.1.373.tgz", - "integrity": "sha512-ZJSjqnHbeZowUnuAiojZqCLeY1XVzRIc2GvMFFNy/z6YSyJXwChPDQL5Jl2bavTvXNO0ITRmMBVvoKCRN7cc3g==", + "version": "1.1.374", + "resolved": "https://registry.npmjs.org/pyright/-/pyright-1.1.374.tgz", + "integrity": "sha512-ISbC1YnYDYrEatoKKjfaA5uFIp0ddC/xw9aSlN/EkmwupXUMVn41Jl+G6wHEjRhC+n4abHZeGpEvxCUus/K9dA==", "bin": { "pyright": "index.js", "pyright-langserver": "langserver.index.js" @@ -45,9 +45,9 @@ "optional": true }, "pyright": { - "version": "1.1.373", - "resolved": "https://registry.npmjs.org/pyright/-/pyright-1.1.373.tgz", - "integrity": "sha512-ZJSjqnHbeZowUnuAiojZqCLeY1XVzRIc2GvMFFNy/z6YSyJXwChPDQL5Jl2bavTvXNO0ITRmMBVvoKCRN7cc3g==", + "version": "1.1.374", + "resolved": "https://registry.npmjs.org/pyright/-/pyright-1.1.374.tgz", + "integrity": "sha512-ISbC1YnYDYrEatoKKjfaA5uFIp0ddC/xw9aSlN/EkmwupXUMVn41Jl+G6wHEjRhC+n4abHZeGpEvxCUus/K9dA==", "requires": { "fsevents": "~2.3.3" } diff --git a/language-server/package.json b/language-server/package.json index 4519147..bd71fe9 100644 --- a/language-server/package.json +++ b/language-server/package.json @@ -1,6 +1,6 @@ { "private": true, "dependencies": { - "pyright": "^1.1.373" + "pyright": "^1.1.374" } } diff --git a/sublime-package.json b/sublime-package.json index 6cb9a42..8d9f862 100644 --- a/sublime-package.json +++ b/sublime-package.json @@ -473,6 +473,11 @@ "title": "Enable the use of experimental features that are not part of the Python typing spec", "type": "boolean" }, + "enableReachabilityAnalysis": { + "default": true, + "title": "Identify code determined to be unreachable through type analysis", + "type": "boolean" + }, "enableTypeIgnoreComments": { "default": true, "title": "Allow \"# type: ignore\" comments", @@ -958,6 +963,9 @@ "enableExperimentalFeatures": { "$ref": "#/definitions/enableExperimentalFeatures" }, + "enableReachabilityAnalysis": { + "$ref": "#/definitions/enableReachabilityAnalysis" + }, "enableTypeIgnoreComments": { "$ref": "#/definitions/enableTypeIgnoreComments" }, @@ -985,6 +993,9 @@ "enableExperimentalFeatures": { "$ref": "#/definitions/enableExperimentalFeatures" }, + "enableReachabilityAnalysis": { + "$ref": "#/definitions/enableReachabilityAnalysis" + }, "enableTypeIgnoreComments": { "$ref": "#/definitions/enableTypeIgnoreComments" },