Skip to content

Commit d78bae5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8643444 commit d78bae5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

hooks/post_gen_project.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ def main(initialise_git_repository: str, deploy_docs_to_github_pages: str) -> in
2222
if initialise_git_repository == "True":
2323
try:
2424
# initialise git repo
25-
subprocess.run( # noqa: S603
25+
subprocess.run(
2626
[ # noqa: S607
2727
"git",
2828
"init",
2929
],
3030
check=True,
3131
)
3232
# old versions of git still default to `master`
33-
subprocess.run( # noqa: S603
33+
subprocess.run(
3434
[ # noqa: S607
3535
"git",
3636
"branch",
@@ -51,7 +51,7 @@ def main(initialise_git_repository: str, deploy_docs_to_github_pages: str) -> in
5151

5252
try:
5353
# check for presence of GitHub CLI
54-
subprocess.run( # noqa: S603
54+
subprocess.run(
5555
[ # noqa: S607
5656
"gh",
5757
"--version",

tests/test_git_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_initialisation_of_git_repo(
4747

4848
try:
4949
# check for presence of GitHub CLI
50-
subprocess.run( # noqa: S603
50+
subprocess.run(
5151
[ # noqa: S607
5252
"gh",
5353
"--version",

0 commit comments

Comments
 (0)