Skip to content

Commit 5a7cff7

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/validation/testcase/pagure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,13 @@ def create_file_in_new_branch(self, branch: str):
293293
test_file.write_text("Testing the opened PR trigger.")
294294

295295
# Add and commit the file
296-
subprocess.run( # noqa: S603
296+
subprocess.run(
297297
["git", "add", "test.txt"], # noqa: S607
298298
cwd=repo_dir,
299299
check=True,
300300
capture_output=True,
301301
)
302-
subprocess.run( # noqa: S603
302+
subprocess.run(
303303
["git", "commit", "-m", "Opened PR trigger"], # noqa: S607
304304
cwd=repo_dir,
305305
check=True,
@@ -510,7 +510,7 @@ def create_empty_commit(self, branch: str, commit_msg: str) -> str:
510510
)
511511

512512
# Get commit SHA
513-
result = subprocess.run( # noqa: S603
513+
result = subprocess.run(
514514
["git", "rev-parse", "HEAD"], # noqa: S607
515515
cwd=repo_dir,
516516
check=True,

0 commit comments

Comments
 (0)