Skip to content

Commit bc05f02

Browse files
committed
Ruff unsafe fixes
1 parent 867b7ab commit bc05f02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)