Skip to content

Commit

Permalink
style(pre-commit): auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 25, 2023
1 parent f1e4be2 commit 55ab66e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions discord/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,7 @@ def __repr__(self) -> str:
return f"<discord.commands.{self.__class__.__name__} name={self.name}>"

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|
Expand Down

0 comments on commit 55ab66e

Please sign in to comment.