fix: add type annotations to _modal stub for pyright
test / unit (pull_request) Successful in 34s
test / integration (pull_request) Successful in 19s
lint / lint (push) Successful in 1m36s
test / unit (push) Successful in 30s
test / integration (push) Successful in 18s
Update Quality Badges / update-badges (push) Successful in 1m19s

This commit was merged in pull request #242.
This commit is contained in:
2026-06-22 19:30:53 +00:00
parent 54760964cf
commit 1a5b6e25f8
+1 -1
View File
@@ -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: