Fixed documentation and json schema for reportMissingTypeStubs default. This addresses #7789.

This commit is contained in:
Eric Traut 2024-04-26 21:40:57 -07:00
parent 6950622347
commit 0a8e1b7af6
2 changed files with 2 additions and 2 deletions

View File

@ -343,6 +343,7 @@ The following table lists the default severity levels for each diagnostic rule w
| strictSetInference | false | false | false | true |
| deprecateTypingAliases | false | false | false | false |
| enableExperimentalFeatures | false | false | false | false |
| reportMissingTypeStubs | "none" | "none" | "none" | "error" |
| reportMissingModuleSource | "warning" | "warning" | "warning" | "warning" |
| reportInvalidTypeForm | "warning" | "error" | "error" | "error" |
| reportMissingImports | "warning" | "error" | "error" | "error" |
@ -350,7 +351,6 @@ The following table lists the default severity levels for each diagnostic rule w
| reportAssertAlwaysTrue | "none" | "warning" | "warning" | "error" |
| reportInvalidStringEscapeSequence | "none" | "warning" | "warning" | "error" |
| reportInvalidTypeVarUse | "none" | "warning" | "warning" | "error" |
| reportMissingTypeStubs | "none" | "warning" | "warning" | "error" |
| reportSelfClsParameterName | "none" | "warning" | "warning" | "error" |
| reportUnsupportedDunderAll | "none" | "warning" | "warning" | "error" |
| reportUnusedExpression | "none" | "warning" | "warning" | "error" |

View File

@ -207,7 +207,7 @@
"$id": "#/properties/reportMissingTypeStubs",
"$ref": "#/definitions/diagnostic",
"title": "Controls reporting of imports that cannot be resolved to type stub files",
"default": "warning"
"default": "none"
},
"reportImportCycles": {
"$id": "#/properties/reportImportCycles",