1+ {
2+ // Pyright is configured in 'strict' mode in pyproject.toml
3+ // This file overrides some reports and tones them down to warnings, if they are not critical.
4+ // It also turns some up to become warnings or errors.
5+ "reportShadowedImports" : " warning" ,
6+ "reportImportCycles" : " error" ,
7+ "reportOptionalMemberAccess" : " warning" ,
8+ "reportOptionalSubscript" : " warning" ,
9+ "reportOptionalContextManager" : " warning" ,
10+ "reportOptionalCall" : " warning" ,
11+ "reportUnusedVariable" : " warning" ,
12+ "reportUnusedImport" : " warning" ,
13+ "reportUnusedFunction" : " warning" ,
14+ "reportUnusedCallResult" : " none" ,
15+ "reportUnusedClass" : " warning" ,
16+ "reportUnnecessaryCast" : " warning" ,
17+ "reportUnnecessaryComparison" : " warning" ,
18+ "reportUnnecessaryIsInstance" : " warning" ,
19+ "reportUnnecessaryContains" : " warning" ,
20+ // Becomes useful after introduction of type annotations
21+ // "reportUnknownMemberType": "warning",
22+ // "reportUnknownParameterType": "warning",
23+ // "reportUnknownArgumentType": "warning",
24+ // "reportUnknownVariableType": "warning",
25+ "reportTypedDictNotRequiredAccess" : " error" ,
26+ "reportDeprecated" : " warning" ,
27+ }
0 commit comments