From 908c1ac29bd52917a2e9238947987d026c566b46 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:06:11 +0000 Subject: [PATCH] :rotating_light: auto fix by pre-commit hooks --- nonebot_plugin_wait_a_minute/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot_plugin_wait_a_minute/__init__.py b/nonebot_plugin_wait_a_minute/__init__.py index fc2fd93..51d6381 100644 --- a/nonebot_plugin_wait_a_minute/__init__.py +++ b/nonebot_plugin_wait_a_minute/__init__.py @@ -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 @@ -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']