Skip to content

Commit bdcc42c

Browse files
authored
[pre-commit.ci] pre-commit autoupdate
2 parents 089f7cf + bc05f02 commit bdcc42c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
hooks:
2424
- id: black
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: v0.11.2
26+
rev: v0.11.4
2727
hooks:
2828
- id: ruff
2929
types: [file]
@@ -39,8 +39,8 @@ repos:
3939
- id: codespell
4040
additional_dependencies:
4141
- tomli
42-
- repo: https://github.com/crate-ci/typos
43-
rev: v1
42+
- repo: https://github.com/adhtruong/mirrors-typos
43+
rev: v1.31.1
4444
hooks:
4545
- id: typos
4646
- repo: https://github.com/woodruffw/zizmor-pre-commit

src/statusbot/bot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
import random
3838
import sys
3939
import traceback
40-
from collections.abc import Awaitable, Callable
4140
from datetime import datetime
4241
from threading import Event, Lock
4342
from typing import TYPE_CHECKING, Any, Final, cast, get_args, get_type_hints
@@ -56,7 +55,7 @@
5655
from statusbot.utils import combine_end, format_time, pretty_exception_name
5756

5857
if TYPE_CHECKING:
59-
from collections.abc import Coroutine, Iterable
58+
from collections.abc import Awaitable, Callable, Coroutine, Iterable
6059

6160
# https://discordpy.readthedocs.io/en/latest/index.html
6261
# https://discord.com/developers

0 commit comments

Comments
 (0)