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-berri81481bea9557
diff --git a/basedpyright-code-budget.json b/basedpyright-code-budget.json
index da788bf1ce3..813347fdd1a 100644
--- a/basedpyright-code-budget.json
+++ b/basedpyright-code-budget.json
@@ -1,9 +1,9 @@
{
"reportAny": {
- "limit": 14076
+ "limit": 13434
},
"reportArgumentType": {
- "limit": 2216
+ "limit": 2208
},
"reportAssignmentType": {
"limit": 319
@@ -24,7 +24,7 @@
"limit": 19
},
"reportExplicitAny": {
- "limit": 4128
+ "limit": 3370
},
"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": 19626
+ "limit": 19590
},
"reportUnknownVariableType": {
- "limit": 29890
+ "limit": 29873
},
"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 9b1cc977a64..4bdcf8997c9 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": 2001
+ "limit": 1982
},
"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 52cb9628252..2318e3391af 100644
--- a/type-discipline-budget.json
+++ b/type-discipline-budget.json
@@ -1,9 +1,9 @@
{
"LIT001": {
- "limit": 22364
+ "limit": 22221
},
"LIT002": {
- "limit": 26777
+ "limit": 26776
},
"LIT003": {
"limit": 269
@@ -15,7 +15,7 @@
"limit": 0
},
"LIT006": {
- "limit": 1039
+ "limit": 1036
},
"LIT007": {
"limit": 0
@@ -30,9 +30,9 @@
"limit": 16507
},
"LIT011": {
- "limit": 5535
+ "limit": 5533
},
"LIT012": {
- "limit": 4495
+ "limit": 4494
}
}