-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
refactor(lint): collapse type/lint budgets to a single per-rule limit #31883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yassin-berriai
merged 4 commits into
litellm_internal_staging
from
litellm_bump-basedpyright-budgets-50pct-9a8c
Jul 1, 2026
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
e3b6849
chore(lint): raise basedpyright per-rule slack to 50% of baseline
cursoragent 62b7e67
refactor(lint): collapse type/lint budgets to a single per-rule limit
cursoragent 80399bc
chore(lint): surface staged-vs-working parity for pre-commit and budg…
cursoragent 24f9877
docs(lint): list type-discipline budget in lint-budget-update instruc…
mateo-berri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,194 +1,146 @@ | ||
| { | ||
| "reportAny": { | ||
| "baseline": 24989, | ||
| "slack": 2500 | ||
| "limit": 37484 | ||
| }, | ||
| "reportArgumentType": { | ||
| "baseline": 1814, | ||
| "slack": 180 | ||
| "limit": 2721 | ||
| }, | ||
| "reportAssignmentType": { | ||
| "baseline": 220, | ||
| "slack": 22 | ||
| "limit": 330 | ||
| }, | ||
| "reportAttributeAccessIssue": { | ||
| "baseline": 346, | ||
| "slack": 35 | ||
| "limit": 519 | ||
| }, | ||
| "reportCallIssue": { | ||
| "baseline": 87, | ||
| "slack": 10 | ||
| "limit": 131 | ||
| }, | ||
| "reportConstantRedefinition": { | ||
| "baseline": 39, | ||
| "slack": 4 | ||
| "limit": 59 | ||
| }, | ||
| "reportDeprecated": { | ||
| "baseline": 217, | ||
| "slack": 22 | ||
| "limit": 326 | ||
| }, | ||
| "reportDuplicateImport": { | ||
| "baseline": 28, | ||
| "slack": 3 | ||
| "limit": 42 | ||
| }, | ||
| "reportExplicitAny": { | ||
| "baseline": 6931, | ||
| "slack": 700 | ||
| "limit": 10397 | ||
| }, | ||
| "reportFunctionMemberAccess": { | ||
| "baseline": 7, | ||
| "slack": 3 | ||
| "limit": 11 | ||
| }, | ||
| "reportGeneralTypeIssues": { | ||
| "baseline": 151, | ||
| "slack": 15 | ||
| "limit": 227 | ||
| }, | ||
| "reportIncompatibleMethodOverride": { | ||
| "baseline": 52, | ||
| "slack": 5 | ||
| "limit": 78 | ||
| }, | ||
| "reportIncompatibleVariableOverride": { | ||
| "baseline": 8, | ||
| "slack": 3 | ||
| "limit": 12 | ||
| }, | ||
| "reportInconsistentOverload": { | ||
| "baseline": 12, | ||
| "slack": 3 | ||
| "limit": 18 | ||
| }, | ||
| "reportIndexIssue": { | ||
| "baseline": 26, | ||
| "slack": 3 | ||
| "limit": 39 | ||
| }, | ||
| "reportInvalidTypeForm": { | ||
| "baseline": 23, | ||
| "slack": 3 | ||
| "limit": 35 | ||
| }, | ||
| "reportInvalidTypeVarUse": { | ||
| "baseline": 2, | ||
| "slack": 3 | ||
| "limit": 5 | ||
| }, | ||
| "reportMatchNotExhaustive": { | ||
| "baseline": 1, | ||
| "slack": 0 | ||
| "limit": 2 | ||
| }, | ||
| "reportMissingParameterType": { | ||
| "baseline": 3933, | ||
| "slack": 390 | ||
| "limit": 5900 | ||
| }, | ||
| "reportMissingTypeArgument": { | ||
| "baseline": 10612, | ||
| "slack": 1000 | ||
| "limit": 15918 | ||
| }, | ||
| "reportMissingTypeStubs": { | ||
| "baseline": 27, | ||
| "slack": 10 | ||
| "limit": 41 | ||
| }, | ||
| "reportOperatorIssue": { | ||
| "baseline": 6, | ||
| "slack": 3 | ||
| "limit": 9 | ||
| }, | ||
| "reportOptionalCall": { | ||
| "baseline": 4, | ||
| "slack": 3 | ||
| "limit": 7 | ||
| }, | ||
| "reportOptionalIterable": { | ||
| "baseline": 3, | ||
| "slack": 3 | ||
| "limit": 6 | ||
| }, | ||
| "reportOptionalMemberAccess": { | ||
| "baseline": 724, | ||
| "slack": 72 | ||
| "limit": 1086 | ||
| }, | ||
| "reportOptionalOperand": { | ||
| "baseline": 3, | ||
| "slack": 3 | ||
| "limit": 6 | ||
| }, | ||
| "reportOptionalSubscript": { | ||
| "baseline": 11, | ||
| "slack": 3 | ||
| "limit": 17 | ||
| }, | ||
| "reportPossiblyUnboundVariable": { | ||
| "baseline": 52, | ||
| "slack": 10 | ||
| "limit": 78 | ||
| }, | ||
| "reportPrivateUsage": { | ||
| "baseline": 1625, | ||
| "slack": 160 | ||
| "limit": 2438 | ||
| }, | ||
| "reportRedeclaration": { | ||
| "baseline": 8, | ||
| "slack": 3 | ||
| "limit": 12 | ||
| }, | ||
| "reportReturnType": { | ||
| "baseline": 126, | ||
| "slack": 100 | ||
| "limit": 226 | ||
| }, | ||
| "reportTypedDictNotRequiredAccess": { | ||
| "baseline": 20, | ||
| "slack": 3 | ||
| "limit": 30 | ||
| }, | ||
| "reportUndefinedVariable": { | ||
| "baseline": 2, | ||
| "slack": 3 | ||
| "limit": 5 | ||
| }, | ||
| "reportUnknownArgumentType": { | ||
| "baseline": 30603, | ||
| "slack": 3000 | ||
| "limit": 45905 | ||
| }, | ||
| "reportUnknownLambdaType": { | ||
| "baseline": 75, | ||
| "slack": 10 | ||
| "limit": 113 | ||
| }, | ||
| "reportUnknownMemberType": { | ||
| "baseline": 27037, | ||
| "slack": 2500 | ||
| "limit": 40556 | ||
| }, | ||
| "reportUnknownParameterType": { | ||
| "baseline": 13612, | ||
| "slack": 1000 | ||
| "limit": 20418 | ||
| }, | ||
| "reportUnknownVariableType": { | ||
| "baseline": 21445, | ||
| "slack": 2000 | ||
| "limit": 32168 | ||
| }, | ||
| "reportUnnecessaryCast": { | ||
| "baseline": 118, | ||
| "slack": 10 | ||
| "limit": 177 | ||
| }, | ||
| "reportUnnecessaryComparison": { | ||
| "baseline": 683, | ||
| "slack": 100 | ||
| "limit": 1025 | ||
| }, | ||
| "reportUnnecessaryContains": { | ||
| "baseline": 4, | ||
| "slack": 3 | ||
| "limit": 7 | ||
| }, | ||
| "reportUnnecessaryIsInstance": { | ||
| "baseline": 808, | ||
| "slack": 80 | ||
| "limit": 1212 | ||
| }, | ||
| "reportUntypedBaseClass": { | ||
| "baseline": 110, | ||
| "slack": 11 | ||
| "limit": 165 | ||
| }, | ||
| "reportUntypedFunctionDecorator": { | ||
| "baseline": 22, | ||
| "slack": 3 | ||
| "limit": 33 | ||
| }, | ||
| "reportUnusedClass": { | ||
| "baseline": 22, | ||
| "slack": 3 | ||
| "limit": 33 | ||
| }, | ||
| "reportUnusedFunction": { | ||
| "baseline": 137, | ||
| "slack": 10 | ||
| "limit": 206 | ||
| }, | ||
| "reportUnusedImport": { | ||
| "baseline": 670, | ||
| "slack": 50 | ||
| "limit": 1005 | ||
| }, | ||
| "reportUnusedVariable": { | ||
| "baseline": 865, | ||
| "slack": 50 | ||
| "limit": 1298 | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.