File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 33from __future__ import annotations
44
55import json
6- from typing import TYPE_CHECKING
6+ import typing as t
77
88import pytest
99import yaml
1010
11- if TYPE_CHECKING :
12- from pathlib import Path
13-
1411
1512@pytest .fixture
16- def simple_yaml_config (tmp_path : Path ) -> Path :
13+ def simple_yaml_config (tmp_path : t . Any ) -> t . Any :
1714 """Create a simple YAML configuration file.
1815
1916 Parameters
@@ -49,7 +46,7 @@ def simple_yaml_config(tmp_path: Path) -> Path:
4946
5047
5148@pytest .fixture
52- def complex_yaml_config (tmp_path : Path ) -> Path :
49+ def complex_yaml_config (tmp_path : t . Any ) -> t . Any :
5350 """Create a complex YAML configuration file with multiple repositories.
5451
5552 Parameters
@@ -102,7 +99,7 @@ def complex_yaml_config(tmp_path: Path) -> Path:
10299
103100
104101@pytest .fixture
105- def json_config (tmp_path : Path ) -> Path :
102+ def json_config (tmp_path : t . Any ) -> t . Any :
106103 """Create a JSON configuration file.
107104
108105 Parameters
@@ -138,7 +135,7 @@ def json_config(tmp_path: Path) -> Path:
138135
139136
140137@pytest .fixture
141- def config_with_includes (tmp_path : Path ) -> tuple [ Path , Path ]:
138+ def config_with_includes (tmp_path : t . Any ) -> t . Tuple [ t . Any , t . Any ]:
142139 """Create a configuration file with includes.
143140
144141 Parameters
You can’t perform that action at this time.
0 commit comments