Skip to content

Commit 5a1f0c1

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 7d4d65d commit 5a1f0c1

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

discord/shared_client_theme.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,22 @@
2424

2525
from __future__ import annotations
2626

27-
from typing import TYPE_CHECKING, Sequence
2827
from dataclasses import dataclass
28+
from typing import TYPE_CHECKING, Sequence
29+
30+
from typing_extensions import Self
2931

3032
from .colour import Colour
3133
from .enums import SharedClientThemeBaseType, try_enum
3234
from .utils import MISSING
33-
from typing_extensions import Self
3435

3536
__all__ = ("SharedClientTheme",)
3637

3738

3839
if TYPE_CHECKING:
3940
from .types.shared_client_theme import SharedClientTheme as SharedClientThemePayload
4041

42+
4143
@dataclass
4244
class SharedClientTheme:
4345
"""Represents a shared client theme that can be sent in a message.
@@ -61,7 +63,7 @@ class SharedClientTheme:
6163
The mode of the theme. Defaults to :attr:`SharedClientThemeBaseType.unset`,
6264
which Discord treats as :attr:`SharedClientThemeBaseType.dark`.
6365
"""
64-
66+
6567
gradient_angle: int = 0
6668
base_mix: int = 0
6769
colours: list[Colour] = MISSING
@@ -93,7 +95,7 @@ def __init__(
9395
base_theme, SharedClientThemeBaseType
9496
):
9597
raise TypeError("base_theme must be a SharedClientThemeBaseType or None")
96-
98+
9799
super().__init__(
98100
gradient_angle=gradient_angle,
99101
base_mix=base_mix,

0 commit comments

Comments
 (0)