From edee6fc55b41430c03f65169de04f38553179a72 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Wed, 10 Apr 2024 21:38:41 +0100 Subject: Run `ruff format` to fix format changes We bumped the version of Ruff which introduced new formatting rules. Hence, we need to reformat to meet these rules. --- arthur/exts/fun/devops_rules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arthur/exts/fun/devops_rules.py') diff --git a/arthur/exts/fun/devops_rules.py b/arthur/exts/fun/devops_rules.py index bdc24fa..6aecadf 100644 --- a/arthur/exts/fun/devops_rules.py +++ b/arthur/exts/fun/devops_rules.py @@ -36,7 +36,7 @@ class Rules(Cog): output_rules = self.rules.keys() if not output_rules: - await ctx.send(f":x: Rule{'s'[:len(rules) ^ 1]} not found.") + await ctx.send(f":x: Rule{'s'[: len(rules) ^ 1]} not found.") return output = "\n".join( @@ -44,7 +44,7 @@ class Rules(Cog): ) await ctx.send( embed=discord.Embed( - title=f"Rule{'s'[:len(output_rules) ^ 1]}", + title=f"Rule{'s'[: len(output_rules) ^ 1]}", description=output, colour=discord.Colour.og_blurple(), url="https://www.notion.so/pythondiscord/Rules-149bc48f6f7947afadd8036f11d4e9a7", -- cgit v1.2.3