Skip to content

Commit cc87755

Browse files
authored
Merge pull request #87 from nonebot/pre-commit-ci-update-config
⬆️ auto update by pre-commit hooks
2 parents ddfa71e + 939e119 commit cc87755

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ ci:
77
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
88
repos:
99
- repo: https://github.com/pycqa/isort
10-
rev: 5.13.2
10+
rev: 6.0.0
1111
hooks:
1212
- id: isort
1313
stages: [pre-commit]
1414

1515
- repo: https://github.com/psf/black
16-
rev: 24.10.0
16+
rev: 25.1.0
1717
hooks:
1818
- id: black
1919
stages: [pre-commit]
2020

2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.8.6
22+
rev: v0.9.4
2323
hooks:
2424
- id: ruff
2525
args: [--fix, --exit-non-zero-on-fix]

tests/test_buttons.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ async def _(row: int):
9595
)
9696

9797
async with app.test_matcher(matcher) as ctx:
98-
from nonebot.adapters.qq.models import Action
98+
from nonebot.adapters.qq.models import (
99+
Action,
100+
)
99101
from nonebot.adapters.qq.models import Button as QQButton
100102
from nonebot.adapters.qq import Bot, Adapter, Message, MessageSegment
101103
from nonebot.adapters.qq.models import (

tests/test_qq.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
from nonebug import App
33
from arclet.alconna import Args, Alconna
44
from nonebot import on_message, get_adapter
5-
from nonebot.adapters.qq.models import Action
5+
from nonebot.adapters.qq.models import (
6+
Action,
7+
)
68
from nonebot.adapters.qq.models import Button as QQButton
79
from nonebot.adapters.qq import Bot, Adapter, Message, MessageSegment
810
from nonebot.adapters.qq.models import (

0 commit comments

Comments
 (0)