File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def xdg_config_path(
5656 return p
5757
5858
59- @pytest .fixture ()
59+ @pytest .fixture
6060def config_path (
6161 xdg_config_path : pathlib .Path ,
6262 request : pytest .FixtureRequest ,
@@ -81,7 +81,7 @@ def set_xdg_config_path(
8181 monkeypatch .setenv ("XDG_CONFIG_HOME" , str (xdg_config_path ))
8282
8383
84- @pytest .fixture ()
84+ @pytest .fixture
8585def repos_path (user_path : pathlib .Path , request : pytest .FixtureRequest ) -> pathlib .Path :
8686 """Return temporary directory for repository checkout guaranteed unique."""
8787 path = user_path / "repos"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def __call__(
2424 ...
2525
2626
27- @pytest .fixture ()
27+ @pytest .fixture
2828def load_yaml (tmp_path : pathlib .Path ) -> LoadYAMLFn :
2929 """Return a yaml loading function that uses temporary directory path."""
3030
Original file line number Diff line number Diff line change 1515from .helpers import EnvironmentVarGuard , load_raw , write_config
1616
1717
18- @pytest .fixture ()
18+ @pytest .fixture
1919def yaml_config (config_path : pathlib .Path ) -> pathlib .Path :
2020 """Ensure and return vcspull yaml configuration file path."""
2121 yaml_file = config_path / "repos1.yaml"
2222 yaml_file .touch ()
2323 return yaml_file
2424
2525
26- @pytest .fixture ()
26+ @pytest .fixture
2727def json_config (config_path : pathlib .Path ) -> pathlib .Path :
2828 """Ensure and return vcspull json configuration file path."""
2929 json_file = config_path / "repos2.json"
You can’t perform that action at this time.
0 commit comments