mirror of
https://github.com/microsoft/pyright.git
synced 2024-10-05 20:38:25 +03:00
Fixed documentation and json schema for reportMissingTypeStubs
default. This addresses #7789.
This commit is contained in:
parent
6950622347
commit
0a8e1b7af6
@ -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" |
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user