|
2 | 2 | "$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json", |
3 | 3 | "typeshedPath": ".", |
4 | 4 | "include": [ |
5 | | - "test_cases" |
| 5 | + "test_cases", |
6 | 6 | ], |
7 | | - "typeCheckingMode": "basic", |
8 | | - "strictListInference": true, |
9 | | - "strictDictionaryInference": true, |
10 | | - "strictParameterNoneValue": true, |
11 | | - "reportFunctionMemberAccess": "error", |
12 | | - "reportMissingModuleSource": "none", |
13 | | - "reportMissingTypeStubs": "error", |
14 | | - "reportUnusedImport": "error", |
15 | | - "reportUnusedClass": "error", |
16 | | - "reportUnusedFunction": "error", |
17 | | - "reportUnusedVariable": "error", |
18 | | - "reportDuplicateImport": "error", |
19 | | - "reportOptionalSubscript": "error", |
20 | | - "reportOptionalMemberAccess": "error", |
21 | | - "reportOptionalCall": "error", |
22 | | - "reportOptionalIterable": "error", |
23 | | - "reportOptionalContextManager": "error", |
24 | | - "reportOptionalOperand": "error", |
25 | | - "reportUntypedFunctionDecorator": "error", |
26 | | - "reportUntypedClassDecorator": "error", |
27 | | - "reportUntypedBaseClass": "error", |
28 | | - "reportUntypedNamedTuple": "error", |
29 | | - "reportPrivateUsage": "none", |
30 | | - "reportConstantRedefinition": "error", |
31 | | - "reportInvalidStringEscapeSequence": "error", |
32 | | - "reportUnknownParameterType": "error", |
33 | | - "reportUnknownArgumentType": "error", |
34 | | - "reportUnknownLambdaType": "error", |
35 | | - "reportUnknownVariableType": "error", |
36 | | - "reportUnknownMemberType": "error", |
37 | | - "reportMissingTypeArgument": "error", |
38 | | - "reportUndefinedVariable": "error", |
39 | | - "reportUnboundVariable": "error", |
40 | | - "reportInvalidStubStatement": "error", |
41 | | - "reportInvalidTypeVarUse": "error", |
| 7 | + "typeCheckingMode": "strict", |
42 | 8 | "reportPropertyTypeMismatch": "error", |
43 | | - "reportSelfClsParameterName": "error", |
44 | | - "reportUnsupportedDunderAll": "error", |
45 | | - "reportIncompatibleMethodOverride": "error", |
46 | | - "reportIncompatibleVariableOverride": "error", |
47 | | - "reportOverlappingOverload": "error", |
48 | 9 | "reportUnnecessaryTypeIgnoreComment": "error", |
49 | | - "reportMissingTypeStubs": "error", |
50 | | - "reportMatchNotExhaustive": "error" |
| 10 | + "reportMissingModuleSource": "none", |
| 11 | + "reportPrivateUsage": "none", |
| 12 | + // isinstance checks are still needed when validating inputs outside of typeshed's control |
| 13 | + "reportUnnecessaryIsInstance": "none", |
| 14 | + // The name of the self/cls parameter is out of typeshed's control. |
| 15 | + "reportSelfClsParameterName": "none", |
51 | 16 | } |
0 commit comments