|
100 | 100 | "enableReachabilityAnalysis": { |
101 | 101 | "type": "boolean", |
102 | 102 | "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.", |
104 | 104 | "default": true |
105 | 105 | }, |
106 | 106 | "deprecateTypingAliases": { |
|
645 | 645 | "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.", |
646 | 646 | "default": "none" |
647 | 647 | }, |
| 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 | + }, |
648 | 654 | "reportShadowedImports": { |
649 | 655 | "$ref": "#/definitions/diagnostic", |
650 | 656 | "title": "Controls reporting of shadowed imports of stdlib modules", |
|
1021 | 1027 | "reportMatchNotExhaustive": { |
1022 | 1028 | "$ref": "#/definitions/reportMatchNotExhaustive" |
1023 | 1029 | }, |
| 1030 | + "reportUnreachable": { |
| 1031 | + "$ref": "#/definitions/reportUnreachable" |
| 1032 | + }, |
1024 | 1033 | "reportShadowedImports": { |
1025 | 1034 | "$ref": "#/definitions/reportShadowedImports" |
1026 | 1035 | }, |
|
1341 | 1350 | "reportMatchNotExhaustive": { |
1342 | 1351 | "$ref": "#/definitions/reportMatchNotExhaustive" |
1343 | 1352 | }, |
| 1353 | + "reportUnreachable": { |
| 1354 | + "$ref": "#/definitions/reportUnreachable" |
| 1355 | + }, |
1344 | 1356 | "reportShadowedImports": { |
1345 | 1357 | "$ref": "#/definitions/reportShadowedImports" |
1346 | 1358 | }, |
|
0 commit comments