diff options
| author | 2024-07-05 14:30:41 +0100 | |
|---|---|---|
| committer | 2024-07-05 14:30:41 +0100 | |
| commit | 49edd2919925b13c0a5ad092f88499951d966c70 (patch) | |
| tree | ad4b758e535f56e075d24d8da3e1ec2b61a49a4e /arthur | |
| parent | Add daily devops missions for added motivation (diff) | |
Bump ruff target version to 3.12
Diffstat (limited to 'arthur')
| -rw-r--r-- | arthur/exts/cloudflare/zones.py | 2 | ||||
| -rw-r--r-- | arthur/exts/fun/devops_rules.py | 4 | ||||
| -rw-r--r-- | arthur/exts/grafana/team_sync.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arthur/exts/cloudflare/zones.py b/arthur/exts/cloudflare/zones.py index 8a6badc..8a21ad1 100644 --- a/arthur/exts/cloudflare/zones.py +++ b/arthur/exts/cloudflare/zones.py @@ -49,7 +49,7 @@ class ZonesView(discord.ui.View): description_content = f"The cache for `{zone_name}` couldn't be cleared.\n" if errors := purge_attempt_response["errors"]: for error in errors: - description_content += f"`{error['code']}`: {error['message']}\n" + description_content += f"`{error["code"]}`: {error["message"]}\n" message = generate_error_message(description=description_content, emote=":x:") self.disable_select() 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/", diff --git a/arthur/exts/grafana/team_sync.py b/arthur/exts/grafana/team_sync.py index 20e059e..93d62c0 100644 --- a/arthur/exts/grafana/team_sync.py +++ b/arthur/exts/grafana/team_sync.py @@ -128,7 +128,7 @@ class GrafanaTeamSync(commands.Cog): colour=discord.Colour.blue(), ) for team in grafana_teams: - logger.debug(f"Processing {team['name']}") + logger.debug(f"Processing {team["name"]}") try: figures = await self._sync_teams(team) except aiohttp.ClientResponseError as e: |