From 55ab66ec8d6e99c058d04f443160b9b46e1ddb6d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 09:07:51 +0000 Subject: [PATCH] style(pre-commit): auto fixes from pre-commit.com hooks --- discord/commands/core.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/discord/commands/core.py b/discord/commands/core.py index bb61a00eeb..55896f2a9e 100644 --- a/discord/commands/core.py +++ b/discord/commands/core.py @@ -235,10 +235,7 @@ def __repr__(self) -> str: return f"" def __eq__(self, other) -> bool: - return ( - isinstance(other, self.__class__) - and self.to_dict() == other.to_dict() - ) + return isinstance(other, self.__class__) and self.to_dict() == other.to_dict() async def __call__(self, ctx, *args, **kwargs): """|coro|