Skip to content

Commit

Permalink
⬆️ auto update by pre-commit hooks (#10)
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.7.2 → v0.8.1](astral-sh/ruff-pre-commit@v0.7.2...v0.8.1)

* 🚨 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 Dec 3, 2024
1 parent a370e27 commit a25144b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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']

0 comments on commit a25144b

Please sign in to comment.