mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-26 07:41:20 +00:00
🚨 Develop: 完全使用 ruff 替代 isort 与 black (#3151)
This commit is contained in:
@ -1,24 +1,24 @@
|
||||
from re import Match
|
||||
|
||||
from nonebot.typing import T_State
|
||||
from nonebot.adapters import Message
|
||||
from nonebot.params import (
|
||||
Command,
|
||||
Keyword,
|
||||
Endswith,
|
||||
RegexStr,
|
||||
Fullmatch,
|
||||
RegexDict,
|
||||
CommandArg,
|
||||
RawCommand,
|
||||
RegexGroup,
|
||||
Startswith,
|
||||
CommandStart,
|
||||
CommandWhitespace,
|
||||
Endswith,
|
||||
Fullmatch,
|
||||
Keyword,
|
||||
RawCommand,
|
||||
RegexDict,
|
||||
RegexGroup,
|
||||
RegexMatched,
|
||||
RegexStr,
|
||||
ShellCommandArgs,
|
||||
ShellCommandArgv,
|
||||
CommandWhitespace,
|
||||
Startswith,
|
||||
)
|
||||
from nonebot.typing import T_State
|
||||
|
||||
|
||||
async def state(x: T_State) -> T_State:
|
||||
|
Reference in New Issue
Block a user