style: apply pyupgrade updates (#8684)

This commit is contained in:
yzy123908944141
2026-06-10 16:47:22 +08:00
committed by GitHub
parent 0b22349363
commit eeabdb9829
3 changed files with 2 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ def _build_grep_command(
def _quote_command(command: list[str]) -> str:
return " ".join(shlex.quote(part) for part in command)
return shlex.join(command)
def build_search_command(

View File

@@ -33,7 +33,7 @@ class Stage(abc.ABC):
async def process(
self,
event: AstrMessageEvent,
) -> None | AsyncGenerator[None, None]:
) -> None | AsyncGenerator[None]:
"""处理事件
Args:

View File

@@ -1 +0,0 @@