Skip to content

Commit abf05fc

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/src/scverse_template_scripts/cruft_prs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,9 @@ def make_pr(con: GitHubConnection, release: GHRelease, repo_url: str) -> None:
242242
if old_pr := next((p for p in origin.get_pulls("open") if pr.matches_prefix(p)), None):
243243
log.info(f"Closing old PR #{old_pr.number} with branch name `{old_pr.head.ref}`.")
244244
old_pr.edit(state="closed")
245-
new_pr = origin.create_pull(pr.title, pr.body, origin.default_branch, pr.namespaced_head, maintainer_can_modify=True)
245+
new_pr = origin.create_pull(
246+
pr.title, pr.body, origin.default_branch, pr.namespaced_head, maintainer_can_modify=True
247+
)
246248
log.info(f"Created PR #{new_pr.number} with branch name `{new_pr.head.ref}`.")
247249

248250

0 commit comments

Comments
 (0)