mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
Whole-tree basedpyright drops from 147,728 to 146,543 errors (reportAny -670, reportExplicitAny -244) with no rule increasing repo-wide or in any file. TypedDicts, Mapping/Sequence views, Protocols, and precise helper return types replace Any; no casts, ignores, or runtime changes. Budgets ratcheted down by the fixed amounts.
146 lines
2.4 KiB
JSON
146 lines
2.4 KiB
JSON
{
|
|
"reportAny": {
|
|
"limit": 26391
|
|
},
|
|
"reportArgumentType": {
|
|
"limit": 2614
|
|
},
|
|
"reportAssignmentType": {
|
|
"limit": 327
|
|
},
|
|
"reportAttributeAccessIssue": {
|
|
"limit": 514
|
|
},
|
|
"reportCallIssue": {
|
|
"limit": 114
|
|
},
|
|
"reportConstantRedefinition": {
|
|
"limit": 40
|
|
},
|
|
"reportDeprecated": {
|
|
"limit": 215
|
|
},
|
|
"reportDuplicateImport": {
|
|
"limit": 19
|
|
},
|
|
"reportExplicitAny": {
|
|
"limit": 8319
|
|
},
|
|
"reportFunctionMemberAccess": {
|
|
"limit": 7
|
|
},
|
|
"reportGeneralTypeIssues": {
|
|
"limit": 157
|
|
},
|
|
"reportIncompatibleMethodOverride": {
|
|
"limit": 56
|
|
},
|
|
"reportIncompatibleVariableOverride": {
|
|
"limit": 8
|
|
},
|
|
"reportInconsistentOverload": {
|
|
"limit": 12
|
|
},
|
|
"reportIndexIssue": {
|
|
"limit": 35
|
|
},
|
|
"reportInvalidTypeForm": {
|
|
"limit": 35
|
|
},
|
|
"reportInvalidTypeVarUse": {
|
|
"limit": 2
|
|
},
|
|
"reportMatchNotExhaustive": {
|
|
"limit": 0
|
|
},
|
|
"reportMissingParameterType": {
|
|
"limit": 5825
|
|
},
|
|
"reportMissingTypeArgument": {
|
|
"limit": 15695
|
|
},
|
|
"reportMissingTypeStubs": {
|
|
"limit": 40
|
|
},
|
|
"reportOperatorIssue": {
|
|
"limit": 0
|
|
},
|
|
"reportOptionalCall": {
|
|
"limit": 0
|
|
},
|
|
"reportOptionalIterable": {
|
|
"limit": 0
|
|
},
|
|
"reportOptionalMemberAccess": {
|
|
"limit": 1077
|
|
},
|
|
"reportOptionalOperand": {
|
|
"limit": 0
|
|
},
|
|
"reportOptionalSubscript": {
|
|
"limit": 0
|
|
},
|
|
"reportPossiblyUnboundVariable": {
|
|
"limit": 56
|
|
},
|
|
"reportPrivateUsage": {
|
|
"limit": 1824
|
|
},
|
|
"reportRedeclaration": {
|
|
"limit": 8
|
|
},
|
|
"reportReturnType": {
|
|
"limit": 213
|
|
},
|
|
"reportTypedDictNotRequiredAccess": {
|
|
"limit": 26
|
|
},
|
|
"reportUndefinedVariable": {
|
|
"limit": 0
|
|
},
|
|
"reportUnknownArgumentType": {
|
|
"limit": 45004
|
|
},
|
|
"reportUnknownLambdaType": {
|
|
"limit": 113
|
|
},
|
|
"reportUnknownMemberType": {
|
|
"limit": 39649
|
|
},
|
|
"reportUnknownParameterType": {
|
|
"limit": 20132
|
|
},
|
|
"reportUnknownVariableType": {
|
|
"limit": 31156
|
|
},
|
|
"reportUnnecessaryCast": {
|
|
"limit": 118
|
|
},
|
|
"reportUnnecessaryComparison": {
|
|
"limit": 701
|
|
},
|
|
"reportUnnecessaryContains": {
|
|
"limit": 5
|
|
},
|
|
"reportUnnecessaryIsInstance": {
|
|
"limit": 857
|
|
},
|
|
"reportUntypedBaseClass": {
|
|
"limit": 0
|
|
},
|
|
"reportUntypedFunctionDecorator": {
|
|
"limit": 33
|
|
},
|
|
"reportUnusedClass": {
|
|
"limit": 23
|
|
},
|
|
"reportUnusedFunction": {
|
|
"limit": 139
|
|
},
|
|
"reportUnusedImport": {
|
|
"limit": 555
|
|
},
|
|
"reportUnusedVariable": {
|
|
"limit": 146
|
|
}
|
|
}
|