🚨 auto fix by pre-commit hooks
Some checks failed
TypeCheck / TypeCheck (push) Has been cancelled

This commit is contained in:
pre-commit-ci[bot]
2024-12-02 23:13:02 +00:00
parent fe26d9aa08
commit 7e8e7d7966
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ async def _(matcher: Matcher, account: MessageFormatError):
@alc.handle()
async def _(matcher: Matcher, matches: AlcMatches):
if matches.head_matched and matches.options != {} or matches.main_args == {}:
if (matches.head_matched and matches.options != {}) or matches.main_args == {}:
await matcher.finish(
(f'{matches.error_info!r}\n' if matches.error_info is not None else '')
+ f'输入"{matches.header_result} --help"查看帮助'

View File

@@ -14,8 +14,8 @@ __all__ = [
'SoloSuccessModel',
'SummariesModel',
'Zen',
'ZenSuccessModel',
'Zenith',
'ZenithEx',
'ZenithSuccessModel',
'ZenSuccessModel',
]