Format with black

This commit is contained in:
Slipstream 2025-06-10 18:26:23 -06:00
parent d631ab8e7c
commit 97273ce655
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD
3 changed files with 4 additions and 3 deletions

View File

@ -50,7 +50,9 @@ class Color:
return ((self.value >> 16) & 0xFF, (self.value >> 8) & 0xFF, self.value & 0xFF) return ((self.value >> 16) & 0xFF, (self.value >> 8) & 0xFF, self.value & 0xFF)
@classmethod @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. """Convert ``value`` to a :class:`Color` instance.
Parameters Parameters

View File

@ -202,8 +202,6 @@ class MessageCommand(AppCommand):
super().__init__(callback, type=ApplicationCommandType.MESSAGE, **kwargs) super().__init__(callback, type=ApplicationCommandType.MESSAGE, **kwargs)
class AppCommandGroup: class AppCommandGroup:
""" """
Represents a group of application commands (subcommands or subcommand groups). Represents a group of application commands (subcommands or subcommand groups).

View File

@ -94,6 +94,7 @@ async def test_requires_permissions_pass(message):
await cmd.invoke(ctx) await cmd.invoke(ctx)
@pytest.mark.asyncio @pytest.mark.asyncio
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_requires_permissions_fail(message): async def test_requires_permissions_fail(message):