Skip to content

Commit

Permalink
🎨 format
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Oct 20, 2023
1 parent 6688f39 commit 83aa22b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/plugins/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,4 +385,4 @@ async def tt1_h(target: Match[Union[int, At]]):
async def statis_h():
cmds = command_manager.get_commands()
sources = [cmd.meta.extra["matcher.source"] for cmd in cmds]
await statis.finish(UniMessage(f"sources: {sources}"))
await statis.finish(UniMessage(f"sources: {sources}"))
4 changes: 2 additions & 2 deletions src/nonebot_plugin_alconna/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

import weakref
from weakref import ref
from _weakref import _remove_dead_weakref
from datetime import datetime, timedelta
from typing import Any, Union, Callable, ClassVar, Iterable, NoReturn, Protocol

from nonebot.rule import Rule
from nonebot.params import Depends
from _weakref import _remove_dead_weakref
from nonebot.permission import Permission
from nonebot.message import run_postprocessor
from nepattern import STRING, AnyOne, AnyString
Expand All @@ -18,11 +18,11 @@
from arclet.alconna.tools import AlconnaFormat, AlconnaString
from arclet.alconna.tools.construct import FuncMounter, MountConfig
from arclet.alconna import Arg, Args, Alconna, ShortcutArgs, command_manager
from nonebot.matcher import Matcher, current_bot, current_event, current_matcher, matchers
from nonebot.typing import T_State, T_Handler, T_RuleChecker, T_PermissionChecker
from nonebot.exception import PausedException, FinishedException, RejectedException
from nonebot.plugin.on import store_matcher, get_matcher_module, get_matcher_plugin
from nonebot.internal.adapter import Bot, Event, Message, MessageSegment, MessageTemplate
from nonebot.matcher import Matcher, matchers, current_bot, current_event, current_matcher

from .rule import alconna
from .typings import MReturn
Expand Down

0 comments on commit 83aa22b

Please sign in to comment.