Format with black
This commit is contained in:
parent
d631ab8e7c
commit
97273ce655
@ -50,7 +50,9 @@ class Color:
|
||||
return ((self.value >> 16) & 0xFF, (self.value >> 8) & 0xFF, self.value & 0xFF)
|
||||
|
||||
@classmethod
|
||||
def parse(cls, value: "Color | int | str | tuple[int, int, int] | None") -> "Color | None":
|
||||
def parse(
|
||||
cls, value: "Color | int | str | tuple[int, int, int] | None"
|
||||
) -> "Color | None":
|
||||
"""Convert ``value`` to a :class:`Color` instance.
|
||||
|
||||
Parameters
|
||||
|
@ -202,8 +202,6 @@ class MessageCommand(AppCommand):
|
||||
super().__init__(callback, type=ApplicationCommandType.MESSAGE, **kwargs)
|
||||
|
||||
|
||||
|
||||
|
||||
class AppCommandGroup:
|
||||
"""
|
||||
Represents a group of application commands (subcommands or subcommand groups).
|
||||
|
@ -94,6 +94,7 @@ async def test_requires_permissions_pass(message):
|
||||
|
||||
await cmd.invoke(ctx)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.asyncio
|
||||
async def test_requires_permissions_fail(message):
|
||||
|
Loading…
x
Reference in New Issue
Block a user