Skip to content

Commit ae0a9a3

Browse files
Update partial-pyright.json (SchemaStore#4806)
1 parent e9fa0c6 commit ae0a9a3

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/schemas/json/partial-pyright.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"enableReachabilityAnalysis": {
101101
"type": "boolean",
102102
"title": "Identify code determined to be unreachable through type analysis",
103-
"description": "If enabled, code that is determined to be unreachable by type analysis is reported using a tagged hint. This setting does not affect code that is determined to be unreachable regardless of type analysis; such code is always reported as unreachable. This setting also has no effect when using the command-line version of pyright because it never emits tagged hints for unreachable code.",
103+
"description": "If enabled, code that is determined to be unreachable by type analysis is reported using a tagged hint. This setting does not affect code that is determined to be unreachable independent of type analysis; such code is always reported as unreachable using a tagged hint. This setting also has no effect when using the command-line version of pyright because it never emits tagged hints for unreachable code.",
104104
"default": true
105105
},
106106
"deprecateTypingAliases": {
@@ -645,6 +645,12 @@
645645
"x-intellij-html-description": "Generate or suppress diagnostics for a <code>match</code> statement that does not provide cases that exhaustively match against all potential types of the target expression.",
646646
"default": "none"
647647
},
648+
"reportUnreachable": {
649+
"$ref": "#/definitions/diagnostic",
650+
"title": "Controls reporting of code that is determined by type analysis to be unreachable",
651+
"description": "Generate or suppress diagnostics for code that is determined to be structurally unreachable or unreachable by type analysis.",
652+
"default": "none"
653+
},
648654
"reportShadowedImports": {
649655
"$ref": "#/definitions/diagnostic",
650656
"title": "Controls reporting of shadowed imports of stdlib modules",
@@ -1021,6 +1027,9 @@
10211027
"reportMatchNotExhaustive": {
10221028
"$ref": "#/definitions/reportMatchNotExhaustive"
10231029
},
1030+
"reportUnreachable": {
1031+
"$ref": "#/definitions/reportUnreachable"
1032+
},
10241033
"reportShadowedImports": {
10251034
"$ref": "#/definitions/reportShadowedImports"
10261035
},
@@ -1341,6 +1350,9 @@
13411350
"reportMatchNotExhaustive": {
13421351
"$ref": "#/definitions/reportMatchNotExhaustive"
13431352
},
1353+
"reportUnreachable": {
1354+
"$ref": "#/definitions/reportUnreachable"
1355+
},
13441356
"reportShadowedImports": {
13451357
"$ref": "#/definitions/reportShadowedImports"
13461358
},

0 commit comments

Comments
 (0)