Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 3, 2025
1 parent ff37ffb commit e804d1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_git_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_initialisation_of_git_repo(
"GitHub CLI detected, you can create a repo with the following:\n\n"
f"gh repo create {test_config['github_owner']}/"
f"cookiecutter-test -d "
f"\"{test_config['project_short_description']}\" --public -r "
f'"{test_config["project_short_description"]}" --public -r '
f"origin --source cookiecutter-test" in result.stdout
)
except FileNotFoundError:
Expand Down
6 changes: 3 additions & 3 deletions tests/test_package_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ def test_pip_installable(
capture_output=True,
check=False,
)
assert (
pipinstall.returncode == 0
), f"Something went wrong with installation: {pipinstall.stderr!r}"
assert pipinstall.returncode == 0, (
f"Something went wrong with installation: {pipinstall.stderr!r}"
)


@pytest.mark.parametrize("funder", ["", "STFC"])
Expand Down

0 comments on commit e804d1a

Please sign in to comment.