From 97273ce6557a26598b7336064482f62c583efc18 Mon Sep 17 00:00:00 2001 From: Slipstream Date: Tue, 10 Jun 2025 18:26:23 -0600 Subject: [PATCH] Format with black --- disagreement/color.py | 4 +++- disagreement/ext/app_commands/commands.py | 2 -- tests/test_command_checks.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/disagreement/color.py b/disagreement/color.py index d1884f6..6b8c063 100644 --- a/disagreement/color.py +++ b/disagreement/color.py @@ -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 diff --git a/disagreement/ext/app_commands/commands.py b/disagreement/ext/app_commands/commands.py index 19b7847..ec4b9ce 100644 --- a/disagreement/ext/app_commands/commands.py +++ b/disagreement/ext/app_commands/commands.py @@ -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). diff --git a/tests/test_command_checks.py b/tests/test_command_checks.py index 13e1644..33d5730 100644 --- a/tests/test_command_checks.py +++ b/tests/test_command_checks.py @@ -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):