Skip to content

Commit 3fead8d

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 097a60f commit 3fead8d

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

discord/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,9 +558,7 @@ async def on_view_error(
558558
error.__class__, error, error.__traceback__, file=sys.stderr
559559
)
560560

561-
async def on_modal_error(
562-
self, error: Exception, interaction: Interaction
563-
) -> None:
561+
async def on_modal_error(self, error: Exception, interaction: Interaction) -> None:
564562
"""|coro|
565563
566564
The default modal error handler provided by the client.

discord/interactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
VoiceChannel,
7676
)
7777
from .client import Client
78-
from .commands import OptionChoice, ApplicationCommand
78+
from .commands import ApplicationCommand, OptionChoice
7979
from .embeds import Embed
8080
from .mentions import AllowedMentions
8181
from .poll import Poll

discord/ui/modal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import os
55
import sys
66
import time
7-
import traceback
87
from functools import partial
98
from itertools import groupby
109
from typing import TYPE_CHECKING, Any, Callable

discord/ui/view.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import os
3030
import sys
3131
import time
32-
import traceback
3332
from functools import partial
3433
from itertools import groupby
3534
from typing import TYPE_CHECKING, Any, Callable, ClassVar, Iterator, Sequence

0 commit comments

Comments
 (0)