Skip to content

Commit

Permalink
🚨 auto fix by pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 2, 2024
1 parent fe26d9a commit 7e8e7d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nonebot_plugin_tetris_stats/games/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == {}:

Check warning on line 47 in nonebot_plugin_tetris_stats/games/__init__.py

View check run for this annotation

Codecov / codecov/patch

nonebot_plugin_tetris_stats/games/__init__.py#L47

Added line #L47 was not covered by tests
await matcher.finish(
(f'{matches.error_info!r}\n' if matches.error_info is not None else '')
+ f'输入"{matches.header_result} --help"查看帮助'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
'SoloSuccessModel',
'SummariesModel',
'Zen',
'ZenSuccessModel',
'Zenith',
'ZenithEx',
'ZenithSuccessModel',
'ZenSuccessModel',
]

0 comments on commit 7e8e7d7

Please sign in to comment.