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 Jan 1, 2024
1 parent 679d95b commit ce3d74f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion discord/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,11 @@ 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.qualified_name == other.qualified_name and self.guild_ids == other.guild_ids
return (
isinstance(other, self.__class__)
and self.qualified_name == other.qualified_name
and self.guild_ids == other.guild_ids
)

async def __call__(self, ctx, *args, **kwargs):
"""|coro|
Expand Down

0 comments on commit ce3d74f

Please sign in to comment.