From 49edd2919925b13c0a5ad092f88499951d966c70 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Fri, 5 Jul 2024 14:30:41 +0100 Subject: Bump ruff target version to 3.12 --- 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 16f47e7..14bccde 100644 --- a/arthur/exts/fun/devops_rules.py +++ b/arthur/exts/fun/devops_rules.py @@ -38,7 +38,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( @@ -46,7 +46,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://python-discord.github.io/infra/docs/onboarding/rules/", -- cgit v1.2.3