Skip to content

Commit

Permalink
style: auto fix by pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 1, 2024
1 parent fed9a13 commit c1d796a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/github/plugins/remove/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ async def process_pull_reqeusts(
logger.info("开始创建拉取请求")
try:
await handler.create_pull_request(
plugin_config.input_config.base, title, branch_name, [REMOVE_LABEL, result.publish_type.value]
plugin_config.input_config.base,
title,
branch_name,
[REMOVE_LABEL, result.publish_type.value],
)
except RequestFailed:

Check warning on line 71 in src/plugins/github/plugins/remove/utils.py

View check run for this annotation

Codecov / codecov/patch

src/plugins/github/plugins/remove/utils.py#L71

Added line #L71 was not covered by tests
# 如果之前已经创建了拉取请求,则将其转换为草稿
Expand Down

0 comments on commit c1d796a

Please sign in to comment.