-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyrightconfig.json
More file actions
90 lines (90 loc) · 3.03 KB
/
Copy pathpyrightconfig.json
File metadata and controls
90 lines (90 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"pythonVersion": "3.11",
"venvPath": ".",
"venv": ".venv",
"include": ["src", "tests"],
"exclude": [
"**/__pycache__",
"**/node_modules",
"**/.venv",
"**/dist",
"**/site",
"**/build"
],
"typeCheckingMode": "standard",
"reportMissingImports": "error",
"reportMissingModuleSource": "none",
"reportCallIssue": "error",
"reportArgumentType": "error",
"reportAssignmentType": "error",
"reportReturnType": "error",
"reportAttributeAccessIssue": "error",
"reportOptionalMemberAccess": "error",
"reportOptionalCall": "error",
"reportOptionalSubscript": "error",
"reportIndexIssue": "error",
"reportOperatorIssue": "error",
"reportGeneralTypeIssues": "error",
"reportUnusedImport": "warning",
"reportUnusedVariable": "warning",
"reportUnusedExpression": "warning",
"reportUnusedClass": "warning",
"reportUnusedFunction": "none",
"reportUnusedCallResult": "none",
"reportUnnecessaryIsInstance": "warning",
"reportUnnecessaryCast": "warning",
"reportUnnecessaryComparison": "warning",
"reportUnnecessaryContains": "warning",
"reportUnnecessaryTypeIgnoreComment": "warning",
"reportPrivateUsage": "none",
"reportIncompatibleMethodOverride": "warning",
"reportIncompatibleVariableOverride": "warning",
"reportUninitializedInstanceVariable": "warning",
"reportSelfClsParameterName": "warning",
"reportUnusedParameter": "none",
"reportUnusedCoroutine": "warning",
"reportDeprecated": "warning",
"reportImplicitStringConcatenation": "none",
"reportPropertyTypeMismatch": "warning",
"reportTypeCommentUsage": "warning",
"reportMissingSuperCall": "none",
"reportUntypedBaseClass": "none",
"reportUntypedFunctionDecorator": "none",
"reportUntypedClassDecorator": "none",
"reportUntypedNamedTuple": "none",
"reportInvalidTypeVarUse": "warning",
"reportMissingTypeArgument": "none",
"reportMissingParameterType": "warning",
"reportUnknownParameterType": "none",
"reportUnknownArgumentType": "none",
"reportUnknownVariableType": "none",
"reportUnknownMemberType": "none",
"reportUnknownLambdaType": "none",
"reportUnknownImportType": "none",
"reportAny": "none",
"reportExplicitAny": "none",
"reportMissingTypeStubs": "none",
"reportImportCycles": "none",
"reportShadowedImports": "none",
"reportDuplicateImport": "warning",
"reportWildcardImportFromLibrary": "warning",
"reportAbstractUsage": "warning",
"reportInconsistentConstructor": "warning",
"reportFunctionMemberAccess": "warning",
"reportRedeclaration": "warning",
"reportInconsistentOverload": "warning",
"reportOverlappingOverload": "warning",
"reportMatchNotExhaustive": "none",
"reportAssertAlwaysTrue": "none",
"reportUnusedExcept": "warning",
"overrides": [
{
"files": ["tests/**"],
"comment": "Test suites rely on MagicMock and untyped fixtures; keep semantic checks but relax mock-noise rules for tests.",
"reportMissingParameterType": "none",
"reportCallIssue": "none",
"reportArgumentType": "none",
"reportAttributeAccessIssue": "none"
}
]
}