Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ auto update by pre-commit hooks #10

Merged
merged 2 commits into from
Dec 3, 2024
Merged
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 @@ -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.7.2
rev: v0.8.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
4 changes: 2 additions & 2 deletions nonebot_plugin_wait_a_minute/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from nonebot.consts import WINDOWS
from nonebot.exception import SkippedException
from nonebot.log import logger
from nonebot.matcher import Matcher # noqa: TCH002 # NoneBot Dependency Injection Require
from nonebot.matcher import Matcher # noqa: TC002 # NoneBot Dependency Injection Require
from nonebot.message import run_preprocessor
from nonebot.plugin import PluginMetadata
from nonebot.utils import is_coroutine_callable, run_sync
Expand Down Expand Up @@ -133,4 +133,4 @@ async def _(matcher: Matcher):
on_shutdown_before = Hook.register
graceful = Hook.graceful

__all__ = ['on_shutdown_before', 'graceful']
__all__ = ['graceful', 'on_shutdown_before']
Loading