Skip to content

Commit

Permalink
⬆️ auto update by pre-commit hooks (#93)
Browse files Browse the repository at this point in the history
* ⬆️ auto update by pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0)
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 14, 2024
1 parent acc5103 commit e2495fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .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.1.14
rev: v0.2.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -20,7 +20,7 @@ repos:
stages: [commit]

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
stages: [commit]
Expand Down
6 changes: 3 additions & 3 deletions nonebot/adapters/feishu/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ async def send(


class Bot(BaseBot):
send_handler: Callable[
["Bot", Event, Union[str, Message, MessageSegment]], Any
] = send
send_handler: Callable[["Bot", Event, Union[str, Message, MessageSegment]], Any] = (
send
)

@override
def __init__(
Expand Down

0 comments on commit e2495fe

Please sign in to comment.