@@ -235,7 +235,7 @@ def test_check_repo_status(
235235def test_status_repos_all (
236236 tmp_path : pathlib .Path ,
237237 monkeypatch : MonkeyPatch ,
238- capsys : t . Any ,
238+ capsys : pytest . CaptureFixture [ str ] ,
239239) -> None :
240240 """Test checking status of all repositories."""
241241 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -281,7 +281,7 @@ def test_status_repos_all(
281281def test_status_repos_json_output (
282282 tmp_path : pathlib .Path ,
283283 monkeypatch : MonkeyPatch ,
284- capsys : t . Any ,
284+ capsys : pytest . CaptureFixture [ str ] ,
285285) -> None :
286286 """Test status output in JSON format."""
287287 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -334,7 +334,7 @@ def test_status_repos_json_output(
334334def test_status_repos_detailed (
335335 tmp_path : pathlib .Path ,
336336 monkeypatch : MonkeyPatch ,
337- capsys : t . Any ,
337+ capsys : pytest . CaptureFixture [ str ] ,
338338) -> None :
339339 """Test detailed status output."""
340340 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -372,7 +372,7 @@ def test_status_repos_detailed(
372372def test_status_repos_pattern_filter (
373373 tmp_path : pathlib .Path ,
374374 monkeypatch : MonkeyPatch ,
375- capsys : t . Any ,
375+ capsys : pytest . CaptureFixture [ str ] ,
376376) -> None :
377377 """Test status with pattern filtering."""
378378 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -418,7 +418,7 @@ def test_status_repos_workspace_filter_and_ndjson(
418418 expected_names : list [str ],
419419 tmp_path : pathlib .Path ,
420420 monkeypatch : MonkeyPatch ,
421- capsys : t . Any ,
421+ capsys : pytest . CaptureFixture [ str ] ,
422422) -> None :
423423 """Test status workspace filtering and NDJSON output."""
424424 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -488,7 +488,7 @@ def test_status_repos_detailed_metrics(
488488 expected_behind : int ,
489489 tmp_path : pathlib .Path ,
490490 monkeypatch : MonkeyPatch ,
491- capsys : t . Any ,
491+ capsys : pytest . CaptureFixture [ str ] ,
492492) -> None :
493493 """Detailed output includes branch and ahead/behind counters."""
494494 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -670,7 +670,7 @@ def tracked_check(repo: t.Any, detailed: bool = False) -> dict[str, t.Any]:
670670def test_status_repos_concurrent_mode (
671671 tmp_path : pathlib .Path ,
672672 monkeypatch : pytest .MonkeyPatch ,
673- capsys : t . Any ,
673+ capsys : pytest . CaptureFixture [ str ] ,
674674) -> None :
675675 """Test status_repos with concurrent mode enabled."""
676676 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -713,7 +713,7 @@ def test_status_repos_concurrent_mode(
713713def test_status_repos_sequential_mode (
714714 tmp_path : pathlib .Path ,
715715 monkeypatch : pytest .MonkeyPatch ,
716- capsys : t . Any ,
716+ capsys : pytest . CaptureFixture [ str ] ,
717717) -> None :
718718 """Test status_repos with sequential mode (no concurrency)."""
719719 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -752,7 +752,7 @@ def test_status_repos_sequential_mode(
752752def test_status_repos_concurrent_json_output (
753753 tmp_path : pathlib .Path ,
754754 monkeypatch : pytest .MonkeyPatch ,
755- capsys : t . Any ,
755+ capsys : pytest . CaptureFixture [ str ] ,
756756) -> None :
757757 """Test that concurrent mode produces correct JSON output."""
758758 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -804,7 +804,7 @@ def test_status_repos_concurrent_json_output(
804804def test_status_repos_concurrent_max_concurrent_limit (
805805 tmp_path : pathlib .Path ,
806806 monkeypatch : pytest .MonkeyPatch ,
807- capsys : t . Any ,
807+ capsys : pytest . CaptureFixture [ str ] ,
808808) -> None :
809809 """Test that max_concurrent parameter is respected."""
810810 monkeypatch .setenv ("HOME" , str (tmp_path ))
@@ -888,7 +888,7 @@ def test_status_repos_path_contraction(
888888 detailed : bool ,
889889 tmp_path : pathlib .Path ,
890890 monkeypatch : pytest .MonkeyPatch ,
891- capsys : t . Any ,
891+ capsys : pytest . CaptureFixture [ str ] ,
892892) -> None :
893893 """Test that status JSON/NDJSON output contracts home directory paths."""
894894 monkeypatch .setenv ("HOME" , str (tmp_path ))
0 commit comments