litellm/type-discipline-budget.json
mateo-berri 7b39fd6614 feat(lint): gate writable TypedDict fields with LIT012
Every TypedDict field must carry a ReadOnly[...] qualifier (PEP 705),
nesting freely with Required/NotRequired/Annotated. Detection covers the
class form (including same-module transitive subclasses) and the
functional form. The 4519 existing violations across litellm/ are
grandfathered via type-discipline-budget.json; suppress deliberate
writable keys with # writable-ok: <reason>.
2026-08-11 17:57:34 -07:00

38 lines
437 B
JSON

{
"LIT001": {
"limit": 23003
},
"LIT002": {
"limit": 27146
},
"LIT003": {
"limit": 269
},
"LIT004": {
"limit": 43
},
"LIT005": {
"limit": 0
},
"LIT006": {
"limit": 1077
},
"LIT007": {
"limit": 0
},
"LIT008": {
"limit": 950
},
"LIT009": {
"limit": 0
},
"LIT010": {
"limit": 16731
},
"LIT011": {
"limit": 5596
},
"LIT012": {
"limit": 4519
}
}