mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
Add a --tighten mode to scripts/type_check_gate.py that lowers each rule's limit in basedpyright-code-budget.json to its current head count plus 50 slack. Limits never rise, absent rules are not adopted, and the vacuous-run guard refuses to tighten when basedpyright emitted nothing. A scheduled workflow runs it nightly against litellm_internal_staging and opens a PR only when there is headroom to remove. Includes the first tighten: 63,290 errors of stale headroom removed across 23 of 48 rules; the reportAny limit falls 34,906 -> 24,479 and reportExplicitAny 10,230 -> 7,334, so growth under the old ceilings can no longer hide. The delta-vs-base gate still spares any PR that does not push a rule past both its limit and its merge-base count |
||
|---|---|---|
| .. | ||
| actions | ||
| codeql | ||
| ISSUE_TEMPLATE | ||
| observatory | ||
| screenshots | ||
| scripts | ||
| workflows | ||
| CODEOWNERS | ||
| dependabot.yaml | ||
| deploy-on-aws.png | ||
| deploy-on-gcp.png | ||
| deploy-to-aws.png | ||
| FUNDING.yml | ||
| pull_request_template.md | ||
| template.yaml | ||