Skip to content

Commit

Permalink
⬆️ auto update by pre-commit hooks (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Sep 3, 2024
1 parent 959c1b1 commit ebe157c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ci:
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
rev: v0.6.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion nonebot/adapters/console/adapter.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import sys
import asyncio
from collections.abc import Awaitable
from typing_extensions import override
from typing import Any, Callable, Optional
from collections.abc import Awaitable

from textual.color import Color
from nonebot.drivers import Driver
Expand Down
2 changes: 1 addition & 1 deletion nonebot/adapters/console/event.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from datetime import datetime
from typing import Literal
from datetime import datetime
from typing_extensions import override

from nonechat.info import User
Expand Down
2 changes: 1 addition & 1 deletion nonebot/adapters/console/message.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing_extensions import Self, override
from typing import Union, Optional
from collections.abc import Iterable
from typing_extensions import Self, override

from rich.style import Style
from rich.emoji import EmojiVariant
Expand Down

0 comments on commit ebe157c

Please sign in to comment.