Skip to content

Commit

Permalink
[BattleRoyale] disable flake8 from specific lines
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Jul 22, 2024
1 parent 7253932 commit dfe57bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions battleroyale/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ async def battleroyale(
self.games[join_view._message] = game
await game.start(ctx, players=players, original_message=join_view._message)

@cast(commands.Group, battleroyale).command()
@cast(commands.Group, battleroyale).command() # noqa: E501
async def auto(
self,
ctx: commands.GuildContext,
Expand Down Expand Up @@ -516,7 +516,7 @@ async def auto(
self.games[message] = game
await game.start(ctx, players=players, original_message=message)

@cast(commands.Group, battleroyale).command()
@cast(commands.Group, battleroyale).command() # noqa: E501
async def role(
self,
ctx: commands.GuildContext,
Expand Down Expand Up @@ -567,7 +567,7 @@ async def role(
self.games[message] = game
await game.start(ctx, players=players, original_message=message)

@cast(commands.Group, battleroyale).group(
@cast(commands.Group, battleroyale).group( # noqa: E501
name="profile", aliases=["stats"], invoke_without_command=True
)
async def profile(self, ctx: commands.GuildContext, *, user: Optional[discord.Member] = None):
Expand Down

0 comments on commit dfe57bb

Please sign in to comment.