Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ci:
autoupdate_commit_msg: "chore: auto update by pre-commit hooks"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.14.10
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ _✨ [Nonebot2](https://github.com/nonebot/nonebot2) 表情包制作插件 调
> 本插件自 v0.5.0 版本起与 rust 版 [meme-generator-rs](https://github.com/MemeCrafters/meme-generator-rs) 对接
>
> 之前的版本与 python 版 [meme-generator](https://github.com/MemeCrafters/meme-generator) 对接
>
>
> 请注意区分!!!

### 安装
Expand Down
3 changes: 2 additions & 1 deletion nonebot_plugin_memes_api/matchers/image_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ async def _(matcher: Matcher):
await matcher.finish(
"简单图片操作,支持的操作:\n"
+ "\n".join(
f"{i+1}、{'/'.join(command.keywords)}" for i, command in enumerate(commands)
f"{i + 1}、{'/'.join(command.keywords)}"
for i, command in enumerate(commands)
)
)

Expand Down