chore: Adds mypy to dev extra.

PiperOrigin-RevId: 759460917
This commit is contained in:
Wei Sun (Jack) 2025-05-15 22:57:20 -07:00 committed by Copybara-Service
parent eb076a9ee8
commit b72573c57d

View File

@ -32,7 +32,6 @@ dependencies = [
"google-cloud-aiplatform>=1.87.0", # For VertexAI integrations, e.g. example store.
"google-cloud-secret-manager>=2.22.0", # Fetching secrets in RestAPI Tool
"google-cloud-speech>=2.30.0", # For Audio Transcription
"google-cloud-storage>=2.18.0, <3.0.0", # For GCS Artifact service
"google-genai>=1.14.0", # Google GenAI SDK
"graphviz>=0.20.2", # Graphviz for graph rendering
@ -67,6 +66,7 @@ dev = [
"isort>=6.0.0",
"pyink>=24.10.0",
"pylint>=2.6.0",
"mypy>=1.15.0",
# go/keep-sorted end
]
@ -155,3 +155,9 @@ known_third_party = ["google.adk"]
testpaths = ["tests"]
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
[tool.mypy]
exclude = "tests/"
plugins = ["pydantic.mypy"]
strict = true
disable_error_code = ["import-not-found", "import-untyped", "unused-ignore"]