From 5a34db252856f0d22e8efbfb2fd81f2ccd22a14f Mon Sep 17 00:00:00 2001 From: Renn F Date: Tue, 14 Jul 2026 08:11:25 +0200 Subject: [PATCH] fix(test): annotate _choreographer helper return type (CI mypy checks tests/) --- tests/unit/gateway/test_choreographer_waive_finding.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/gateway/test_choreographer_waive_finding.py b/tests/unit/gateway/test_choreographer_waive_finding.py index 101ac5af..01a3d7cc 100644 --- a/tests/unit/gateway/test_choreographer_waive_finding.py +++ b/tests/unit/gateway/test_choreographer_waive_finding.py @@ -69,7 +69,9 @@ def _patch_repo(monkeypatch: pytest.MonkeyPatch, row: Any | None) -> MagicMock: return repo_mock -def _choreographer(monkeypatch: pytest.MonkeyPatch, row: Any | None): +def _choreographer( + monkeypatch: pytest.MonkeyPatch, row: Any | None +) -> tuple[Choreographer, MagicMock]: deps = _make_deps() deps.task.session = MagicMock() c = Choreographer(deps)