Skip to content

Commit f932783

Browse files
committed
Add mypy ignore to specific files
1 parent 4f134e2 commit f932783

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/linter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ jobs:
6464
VALIDATE_GIT_COMMITLINT: false
6565
MARKDOWN_CONFIG_FILE: .markdownlint.json
6666
PYTHON_MYPY_CONFIG_FILE: .mypy.ini
67-
FILTER_REGEX_EXCLUDE: '^examples/.*'
67+
FILTER_REGEX_EXCLUDE: "^examples/.*"

examples/google_adk/birthday_planner/adk_agent_executor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: ignore-errors
12
import asyncio
23
import logging
34

examples/google_adk/calendar_agent/adk_agent_executor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: ignore-errors
12
import asyncio
23
import logging
34

@@ -53,7 +54,7 @@ def __init__(self, runner: Runner, card: AgentCard):
5354

5455
def _run_agent(
5556
self, session_id, new_message: types.Content
56-
) -> AsyncGenerator[Event, None]:
57+
) -> AsyncGenerator[Event]:
5758
return self.runner.run_async(
5859
session_id=session_id, user_id='self', new_message=new_message
5960
)

0 commit comments

Comments
 (0)