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-berrib6c10d31e8f9
diff --git a/basedpyright-code-budget.json b/basedpyright-code-budget.json
index 3f96531cf6f..9365c7daad5 100644
--- a/basedpyright-code-budget.json
+++ b/basedpyright-code-budget.json
@@ -1,9 +1,9 @@
{
"reportAny": {
- "limit": 14074
+ "limit": 13431
},
"reportArgumentType": {
- "limit": 2215
+ "limit": 2207
},
"reportAssignmentType": {
"limit": 319
@@ -24,7 +24,7 @@
"limit": 19
},
"reportExplicitAny": {
- "limit": 4124
+ "limit": 3371
},
"reportFunctionMemberAccess": {
"limit": 7
@@ -48,16 +48,16 @@
"limit": 34
},
"reportInvalidTypeVarUse": {
- "limit": 2
+ "limit": 1
},
"reportMatchNotExhaustive": {
"limit": 0
},
"reportMissingParameterType": {
- "limit": 5601
+ "limit": 5570
},
"reportMissingTypeArgument": {
- "limit": 15290
+ "limit": 15287
},
"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": 38332
+ "limit": 38306
},
"reportUnknownParameterType": {
- "limit": 19625
+ "limit": 19589
},
"reportUnknownVariableType": {
- "limit": 29861
+ "limit": 29846
},
"reportUnnecessaryCast": {
- "limit": 111
+ "limit": 110
},
"reportUnnecessaryComparison": {
"limit": 687
@@ -123,7 +123,7 @@
"limit": 4
},
"reportUnnecessaryIsInstance": {
- "limit": 823
+ "limit": 820
},
"reportUntypedBaseClass": {
"limit": 0
diff --git a/ruff-strict-budget.json b/ruff-strict-budget.json
index 4fcf650a8bc..204ed2929ee 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": 304
+ "limit": 119
},
"ASYNC230": {
"limit": 11
@@ -231,7 +231,7 @@
"limit": 5
},
"TID251": {
- "limit": 1071
+ "limit": 1034
},
"TRY002": {
"limit": 524
diff --git a/type-discipline-budget.json b/type-discipline-budget.json
index f3c4c7760c6..c9a1f28438e 100644
--- a/type-discipline-budget.json
+++ b/type-discipline-budget.json
@@ -1,9 +1,9 @@
{
"LIT001": {
- "limit": 22334
+ "limit": 22192
},
"LIT002": {
- "limit": 26763
+ "limit": 26762
},
"LIT003": {
"limit": 261
@@ -15,7 +15,7 @@
"limit": 0
},
"LIT006": {
- "limit": 1038
+ "limit": 1035
},
"LIT007": {
"limit": 0
@@ -30,9 +30,9 @@
"limit": 16480
},
"LIT011": {
- "limit": 5520
+ "limit": 5518
},
"LIT012": {
- "limit": 4489
+ "limit": 4488
}
}