Skip to content

Commit

Permalink
⬆️ auto update by pre-commit hooks (#12)
Browse files Browse the repository at this point in the history
* ⬆️ auto update by pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.4](astral-sh/ruff-pre-commit@v0.8.6...v0.9.4)
- [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0)

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 13, 2025
1 parent 24d3b36 commit 521ed2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ci:
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -16,7 +16,7 @@ repos:
stages: [pre-commit]

- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
stages: [pre-commit]
Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_dcqq_relay/dc_to_qq.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async def build_qq_message(
qq_message += MessageSegment.text(embed.group())
else:
if embed.group().isdigit():
qq_message += MessageSegment.text(f'<t:{embed.group("param")}>')
qq_message += MessageSegment.text(f"<t:{embed.group('param')}>")
else:
qq_message += MessageSegment.text(embed.group())
if text := content[text_begin:]:
Expand Down

0 comments on commit 521ed2b

Please sign in to comment.