@@ -53,7 +53,7 @@ def config_invalid_fmt() -> LC_Config:
5353
5454def test_main_success (
5555 config : LC_Config ,
56- monkeypatch ,
56+ monkeypatch : pytest . MonkeyPatch ,
5757) -> None :
5858 monkeypatch .setattr (
5959 "licensecheck.io.cli.checker.check" ,
@@ -75,7 +75,7 @@ def test_main_success(
7575
7676def test_main_invalid_format (
7777 config_invalid_fmt : LC_Config ,
78- monkeypatch ,
78+ monkeypatch : pytest . MonkeyPatch ,
7979) -> None :
8080
8181 monkeypatch .setattr (
@@ -102,7 +102,7 @@ def test_main_invalid_format(
102102)
103103def test_main_exit_code_zero_mode (
104104 config : LC_Config ,
105- monkeypatch ,
105+ monkeypatch : pytest . MonkeyPatch ,
106106 * ,
107107 zero : bool ,
108108 incompatible : bool ,
@@ -130,7 +130,7 @@ def test_main_exit_code_zero_mode(
130130
131131def test_main_invalid_hidden_parameter (
132132 config : LC_Config ,
133- monkeypatch ,
133+ monkeypatch : pytest . MonkeyPatch ,
134134) -> None :
135135 config .hide_output_parameters = {"NOT_A_FIELD" }
136136
@@ -156,7 +156,7 @@ def test_main_invalid_hidden_parameter(
156156)
157157def test_main_valid_hidden_parameters (
158158 config : LC_Config ,
159- monkeypatch ,
159+ monkeypatch : pytest . MonkeyPatch ,
160160 hidden : list [str ],
161161) -> None :
162162 config .hide_output_parameters = hidden
@@ -181,7 +181,7 @@ def test_main_valid_hidden_parameters(
181181
182182def test_main_passes_args_to_checker (
183183 config : LC_Config ,
184- monkeypatch ,
184+ monkeypatch : pytest . MonkeyPatch ,
185185) -> None :
186186 called = {}
187187
@@ -213,7 +213,7 @@ def fake_check(**kwargs: dict[str, Any]) -> tuple[Literal[False], list[Any]]:
213213
214214def test_main_closes_output_file (
215215 config : LC_Config ,
216- monkeypatch ,
216+ monkeypatch : pytest . MonkeyPatch ,
217217 tmp_path : Path ,
218218) -> None :
219219 output = tmp_path / "out.txt"
0 commit comments