litellm/basedpyright-code-budget.json
mateo-berri 6afef76268 Reduce basedpyright Any counts by ~5.5k across 12 hot files
Types the highest-volume Any sources in the proxy and core paths:
Prisma row seams, **row.model_dump() unpacks, response payloads, and
untyped helper returns.

reportAny        26979 -> 21998  (-4981)
reportExplicitAny  7432 ->  6918   (-514)
total errors    157609 -> 151413  (-6196)

Ratchets basedpyright-code-budget.json down by 6215 across 48 rules so
the gains cannot be given back.
2026-07-24 19:53:01 -07:00

146 lines
2.5 KiB
JSON

{
"reportAny": {
"limit": 32503
},
"reportArgumentType": {
"limit": 2704
},
"reportAssignmentType": {
"limit": 330
},
"reportAttributeAccessIssue": {
"limit": 516
},
"reportCallIssue": {
"limit": 124
},
"reportConstantRedefinition": {
"limit": 59
},
"reportDeprecated": {
"limit": 326
},
"reportDuplicateImport": {
"limit": 42
},
"reportExplicitAny": {
"limit": 9875
},
"reportFunctionMemberAccess": {
"limit": 11
},
"reportGeneralTypeIssues": {
"limit": 227
},
"reportIncompatibleMethodOverride": {
"limit": 78
},
"reportIncompatibleVariableOverride": {
"limit": 12
},
"reportInconsistentOverload": {
"limit": 18
},
"reportIndexIssue": {
"limit": 37
},
"reportInvalidTypeForm": {
"limit": 35
},
"reportInvalidTypeVarUse": {
"limit": 5
},
"reportMatchNotExhaustive": {
"limit": 0
},
"reportMissingParameterType": {
"limit": 5846
},
"reportMissingTypeArgument": {
"limit": 15857
},
"reportMissingTypeStubs": {
"limit": 41
},
"reportOperatorIssue": {
"limit": 0
},
"reportOptionalCall": {
"limit": 0
},
"reportOptionalIterable": {
"limit": 0
},
"reportOptionalMemberAccess": {
"limit": 1085
},
"reportOptionalOperand": {
"limit": 0
},
"reportOptionalSubscript": {
"limit": 0
},
"reportPossiblyUnboundVariable": {
"limit": 77
},
"reportPrivateUsage": {
"limit": 2438
},
"reportRedeclaration": {
"limit": 12
},
"reportReturnType": {
"limit": 225
},
"reportTypedDictNotRequiredAccess": {
"limit": 27
},
"reportUndefinedVariable": {
"limit": 0
},
"reportUnknownArgumentType": {
"limit": 45607
},
"reportUnknownLambdaType": {
"limit": 113
},
"reportUnknownMemberType": {
"limit": 40441
},
"reportUnknownParameterType": {
"limit": 20307
},
"reportUnknownVariableType": {
"limit": 32003
},
"reportUnnecessaryCast": {
"limit": 177
},
"reportUnnecessaryComparison": {
"limit": 1025
},
"reportUnnecessaryContains": {
"limit": 7
},
"reportUnnecessaryIsInstance": {
"limit": 1209
},
"reportUntypedBaseClass": {
"limit": 165
},
"reportUntypedFunctionDecorator": {
"limit": 33
},
"reportUnusedClass": {
"limit": 33
},
"reportUnusedFunction": {
"limit": 206
},
"reportUnusedImport": {
"limit": 1004
},
"reportUnusedVariable": {
"limit": 1297
}
}