From ec080a3ae2a2e99e762c11a3e643e049de1239e9 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 15 Feb 2025 16:20:39 +0000 Subject: Format code to new ruff 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 b0f72cd..418c51c 100644 --- a/arthur/exts/fun/devops_rules.py +++ b/arthur/exts/fun/devops_rules.py @@ -40,7 +40,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( @@ -48,7 +48,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://docs.pydis.wtf/onboarding/rules.html", -- cgit v1.2.3