diff --git a/language-server/package-lock.json b/language-server/package-lock.json index 349f1fe..03965cd 100644 --- a/language-server/package-lock.json +++ b/language-server/package-lock.json @@ -5,13 +5,13 @@ "packages": { "": { "dependencies": { - "basedpyright": "^1.15.0" + "basedpyright": "^1.15.1" } }, "node_modules/basedpyright": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/basedpyright/-/basedpyright-1.15.0.tgz", - "integrity": "sha512-cLbNB9JpEhPmW2u6gV6gT1yOQJaekN7bv57ZeqD45R5cCGdUkYWamwdO6Mrqt5W3SrfUjleemu9IlwyIb8VfQA==", + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/basedpyright/-/basedpyright-1.15.1.tgz", + "integrity": "sha512-bCVEi91r4wyHJZjIWtcqJNMqVUnEHIMVjoCVfrmCKcnug6x9fL2kdz/Tp0A3Esi7Xlzp+cxEvXqP7PkgRvVzhw==", "bin": { "pyright": "index.js", "pyright-langserver": "langserver.index.js" @@ -39,9 +39,9 @@ }, "dependencies": { "basedpyright": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/basedpyright/-/basedpyright-1.15.0.tgz", - "integrity": "sha512-cLbNB9JpEhPmW2u6gV6gT1yOQJaekN7bv57ZeqD45R5cCGdUkYWamwdO6Mrqt5W3SrfUjleemu9IlwyIb8VfQA==", + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/basedpyright/-/basedpyright-1.15.1.tgz", + "integrity": "sha512-bCVEi91r4wyHJZjIWtcqJNMqVUnEHIMVjoCVfrmCKcnug6x9fL2kdz/Tp0A3Esi7Xlzp+cxEvXqP7PkgRvVzhw==", "requires": { "fsevents": "~2.3.3" } diff --git a/language-server/package.json b/language-server/package.json index 798988a..314d0a5 100644 --- a/language-server/package.json +++ b/language-server/package.json @@ -1,6 +1,6 @@ { "private": true, "dependencies": { - "basedpyright": "^1.15.0" + "basedpyright": "^1.15.1" } } diff --git a/sublime-package.json b/sublime-package.json index 17c9054..94a1b23 100644 --- a/sublime-package.json +++ b/sublime-package.json @@ -507,6 +507,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": false, "title": "Allow \"# type: ignore\" comments", @@ -1053,6 +1058,9 @@ "enableExperimentalFeatures": { "$ref": "#/definitions/enableExperimentalFeatures" }, + "enableReachabilityAnalysis": { + "$ref": "#/definitions/enableReachabilityAnalysis" + }, "enableTypeIgnoreComments": { "$ref": "#/definitions/enableTypeIgnoreComments" }, @@ -1080,6 +1088,9 @@ "enableExperimentalFeatures": { "$ref": "#/definitions/enableExperimentalFeatures" }, + "enableReachabilityAnalysis": { + "$ref": "#/definitions/enableReachabilityAnalysis" + }, "enableTypeIgnoreComments": { "$ref": "#/definitions/enableTypeIgnoreComments" },