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" },