Skip to content

Commit 3a8bb10

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 0b58904 commit 3a8bb10

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

discord/ui/item.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
2929

3030
from ..interactions import Interaction
3131

32-
__all__ = ("Item", "ViewItem", "ModalItem", )
32+
__all__ = (
33+
"Item",
34+
"ViewItem",
35+
"ModalItem",
36+
)
3337

3438
if TYPE_CHECKING:
3539
from ..components import Component
@@ -130,6 +134,7 @@ def id(self, value) -> None:
130134
return
131135
self._underlying.id = value
132136

137+
133138
class ViewItem(Item[V]):
134139
"""Represents an item used in Views.
135140
@@ -233,6 +238,7 @@ async def callback(self, interaction: Interaction):
233238
The interaction that triggered this UI item.
234239
"""
235240

241+
236242
class ModalItem(Item[M]):
237243
"""Represents an item used in Modals.
238244

discord/ui/label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from ..utils import find, get
1010
from .button import Button
1111
from .input_text import InputText
12-
from .item import ModalItem, ItemCallbackType
12+
from .item import ItemCallbackType, ModalItem
1313
from .select import Select
1414

1515
__all__ = ("Label",)

0 commit comments

Comments
 (0)