Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

chore(lint): ratchet down Any and strict-typing budgets

mateo-berrib2ed6eaa059a
diff --git a/basedpyright-code-budget.json b/basedpyright-code-budget.json
index d094c98f5ec..030632a3102 100644
--- a/basedpyright-code-budget.json
+++ b/basedpyright-code-budget.json
@@ -1,9 +1,9 @@
{
"reportAny": {
- "limit": 14074
+ "limit": 13432
},
"reportArgumentType": {
- "limit": 2216
+ "limit": 2208
},
"reportAssignmentType": {
"limit": 319
@@ -24,7 +24,7 @@
"limit": 19
},
"reportExplicitAny": {
- "limit": 4125
+ "limit": 3367
},
"reportFunctionMemberAccess": {
"limit": 7
@@ -48,16 +48,16 @@
"limit": 34
},
"reportInvalidTypeVarUse": {
- "limit": 2
+ "limit": 1
},
"reportMatchNotExhaustive": {
"limit": 0
},
"reportMissingParameterType": {
- "limit": 5601
+ "limit": 5570
},
"reportMissingTypeArgument": {
- "limit": 15306
+ "limit": 15303
},
"reportMissingTypeStubs": {
"limit": 40
@@ -90,7 +90,7 @@
"limit": 8
},
"reportReturnType": {
- "limit": 181
+ "limit": 180
},
"reportTypedDictNotRequiredAccess": {
"limit": 24
@@ -105,16 +105,16 @@
"limit": 109
},
"reportUnknownMemberType": {
- "limit": 38350
+ "limit": 38324
},
"reportUnknownParameterType": {
- "limit": 19625
+ "limit": 19589
},
"reportUnknownVariableType": {
- "limit": 29877
+ "limit": 29860
},
"reportUnnecessaryCast": {
- "limit": 111
+ "limit": 110
},
"reportUnnecessaryComparison": {
"limit": 692
@@ -123,7 +123,7 @@
"limit": 5
},
"reportUnnecessaryIsInstance": {
- "limit": 826
+ "limit": 823
},
"reportUntypedBaseClass": {
"limit": 0
diff --git a/ruff-strict-budget.json b/ruff-strict-budget.json
index ae91b711e13..3ffdce1b0e4 100644
--- a/ruff-strict-budget.json
+++ b/ruff-strict-budget.json
@@ -1,21 +1,21 @@
{
"ANN001": {
- "limit": 2985
+ "limit": 2957
},
"ANN002": {
"limit": 71
},
"ANN003": {
- "limit": 809
+ "limit": 806
},
"ANN201": {
- "limit": 2000
+ "limit": 1981
},
"ANN202": {
- "limit": 835
+ "limit": 831
},
"ANN204": {
- "limit": 693
+ "limit": 683
},
"ANN205": {
"limit": 112
@@ -24,7 +24,7 @@
"limit": 133
},
"ANN401": {
- "limit": 307
+ "limit": 122
},
"ASYNC230": {
"limit": 11
@@ -231,7 +231,7 @@
"limit": 5
},
"TID251": {
- "limit": 1073
+ "limit": 1036
},
"TRY002": {
"limit": 524
diff --git a/type-discipline-budget.json b/type-discipline-budget.json
index 6273fbce595..4cd8fec5aae 100644
--- a/type-discipline-budget.json
+++ b/type-discipline-budget.json
@@ -1,9 +1,9 @@
{
"LIT001": {
- "limit": 22358
+ "limit": 22215
},
"LIT002": {
- "limit": 26774
+ "limit": 26773
},
"LIT003": {
"limit": 269
@@ -15,7 +15,7 @@
"limit": 0
},
"LIT006": {
- "limit": 1039
+ "limit": 1036
},
"LIT007": {
"limit": 0
@@ -30,9 +30,9 @@
"limit": 16494
},
"LIT011": {
- "limit": 5535
+ "limit": 5533
},
"LIT012": {
- "limit": 4495
+ "limit": 4494
}
}