Reformat with new black version

This commit is contained in:
2023-08-09 00:04:23 +02:00
parent 102f5561a8
commit 4beacbf65d
2 changed files with 3 additions and 2 deletions

View File

@@ -163,7 +163,6 @@ def test_repos_find(configtype, exclude, default_format):
@pytest.mark.parametrize("configtype", ["toml", "yaml"])
def test_repos_find_in_root(configtype, default_format):
with TempGitRepository() as repo_dir:
args = ["repos", "find", "local", repo_dir]
if not default_format:
args += ["--format", configtype]

View File

@@ -43,7 +43,9 @@ def test_repos_find_remote_invalid_provider(use_config):
assert cmd.returncode != 0
assert len(cmd.stdout) == 0
if not use_config:
assert re.match(".*invalid value 'thisproviderdoesnotexist' for.*provider", cmd.stderr)
assert re.match(
".*invalid value 'thisproviderdoesnotexist' for.*provider", cmd.stderr
)
@pytest.mark.parametrize("provider", PROVIDERS)