Skip to content

Commit

Permalink
chore(deps,pre-commit.ci): bump ruff to 0.0.280 (#245)
Browse files Browse the repository at this point in the history
* chore(deps,pre-commit.ci): bump

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.278 → v0.0.280](astral-sh/ruff-pre-commit@v0.0.278...v0.0.280)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Jul 25, 2023
1 parent 8ea8865 commit 6aab886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
language_version: python3.8

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.0.278' # Use the sha / tag you want to point at
rev: 'v0.0.280' # Use the sha / tag you want to point at
hooks:
- id: ruff
args: [--fix]
Expand Down
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 6aab886

Please sign in to comment.