From 1a5b6e25f8b06dc1c61d3e85ed08861d9cf45894 Mon Sep 17 00:00:00 2001 From: claude Date: Mon, 22 Jun 2026 19:30:53 +0000 Subject: [PATCH] fix: add type annotations to _modal stub for pyright --- tests/unit/test_cli_start_selector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_cli_start_selector.py b/tests/unit/test_cli_start_selector.py index 340401d..d0876a1 100644 --- a/tests/unit/test_cli_start_selector.py +++ b/tests/unit/test_cli_start_selector.py @@ -169,7 +169,7 @@ class TestCmdStartLabelCollision(unittest.TestCase): collision_agent = _active_agent("researcher") call_count = 0 - def _modal(default_label, *, disclaimer="", **_kw): + def _modal(default_label: str, *, disclaimer: str = "", **_kw: object) -> tuple[str, str]: nonlocal call_count call_count += 1 if call_count == 1: