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]

fix mypy

Ishaan Jaffer82978f4c5c8b
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 459dd70e8dd..0cedeb71686 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -75,7 +75,7 @@ jobs:
command: |
cd litellm
# Use the same approach as GitHub Actions, explicitly exclude fastuuid to avoid segfaults
- python -m mypy . --ignore-missing-imports
+ python -m mypy .
cd ..
no_output_timeout: 10m
local_testing:
diff --git a/litellm/mypy.ini b/litellm/mypy.ini
index d4e5e7f6bdf..4702b591124 100644
--- a/litellm/mypy.ini
+++ b/litellm/mypy.ini
@@ -5,7 +5,8 @@ mypy_path = litellm/stubs
namespace_packages = True
disable_error_code =
valid-type,
- annotation-unchecked
+ annotation-unchecked,
+ import-untyped
[mypy-google.*]
ignore_missing_imports = True