Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 24, 2023
1 parent 26f76f7 commit 2700348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graia/ariadne/message/parser/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class TwilightHelpManager:

def __init__(self, name: str, display_name: Optional[str] = AUTO_ID):
self.name: str = name
self.help_map: Dict[str, "Twilight"] = {}
self.help_map: Dict[str, Twilight] = {}
if display_name == self.AUTO_ID:
self.display_name = None if name.startswith(("global", "local", "_")) else name
else:
Expand Down

0 comments on commit 2700348

Please sign in to comment.