@@ -30,21 +30,25 @@ def __init__(self, attempts: int, *args: object):
3030
3131
3232skip_if_git_missing = pytest .mark .skipif (
33- not shutil .which ("git" ), reason = "git is not available" ,
33+ not shutil .which ("git" ),
34+ reason = "git is not available" ,
3435)
3536skip_if_svn_missing = pytest .mark .skipif (
36- not shutil .which ("svn" ), reason = "svn is not available" ,
37+ not shutil .which ("svn" ),
38+ reason = "svn is not available" ,
3739)
3840skip_if_hg_missing = pytest .mark .skipif (
39- not shutil .which ("hg" ), reason = "hg is not available" ,
41+ not shutil .which ("hg" ),
42+ reason = "hg is not available" ,
4043)
4144
4245
4346class RandomStrSequence :
4447 """Create a random string sequence."""
4548
4649 def __init__ (
47- self , characters : str = "abcdefghijklmnopqrstuvwxyz0123456789_" ,
50+ self ,
51+ characters : str = "abcdefghijklmnopqrstuvwxyz0123456789_" ,
4852 ) -> None :
4953 self .characters : str = characters
5054
@@ -163,7 +167,8 @@ def hgconfig(user_path: pathlib.Path, set_home: pathlib.Path) -> pathlib.Path:
163167
164168@pytest .fixture (scope = "function" )
165169def projects_path (
166- user_path : pathlib .Path , request : pytest .FixtureRequest ,
170+ user_path : pathlib .Path ,
171+ request : pytest .FixtureRequest ,
167172) -> pathlib .Path :
168173 """User's local checkouts and clones. Emphemeral directory."""
169174 dir = user_path / "projects"
@@ -178,7 +183,8 @@ def clean() -> None:
178183
179184@pytest .fixture (scope = "function" )
180185def remote_repos_path (
181- user_path : pathlib .Path , request : pytest .FixtureRequest ,
186+ user_path : pathlib .Path ,
187+ request : pytest .FixtureRequest ,
182188) -> pathlib .Path :
183189 """System's remote (file-based) repos to clone andpush to. Emphemeral directory."""
184190 dir = user_path / "remote_repos"
@@ -431,7 +437,8 @@ def fn(
431437@pytest .fixture
432438@skip_if_hg_missing
433439def hg_remote_repo (
434- remote_repos_path : pathlib .Path , hgconfig : pathlib .Path ,
440+ remote_repos_path : pathlib .Path ,
441+ hgconfig : pathlib .Path ,
435442) -> pathlib .Path :
436443 """Pre-made, file-based repo for push and pull."""
437444 return _create_hg_remote_repo (
0 commit comments