Skip to content

Commit

Permalink
Bump ruff to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Jan 25, 2024
1 parent 69e3399 commit 98bf39e
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 56 deletions.
6 changes: 2 additions & 4 deletions arthur/exts/kubernetes/certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ async def certificates_list(self, ctx: commands.Context, namespace: str = "defau
table_data, headers=["Name", "DNS Names", "Issuer", "Status"], tablefmt="psql"
)

return_message = dedent(
"""
return_message = dedent("""
**Certificates in namespace `{0}`**
```
{1}
```
"""
)
""")

await ctx.send(return_message.format(namespace, table))

Expand Down
6 changes: 2 additions & 4 deletions arthur/exts/kubernetes/deployments.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,12 @@ async def deployments_list(self, ctx: commands.Context, namespace: str = "defaul
colalign=("center", "left", "center"),
)

return_message = dedent(
"""
return_message = dedent("""
**Deployments in namespace `{0}`**
```
{1}
```
"""
)
""")

await ctx.send(return_message.format(namespace, table))
return None
Expand Down
6 changes: 2 additions & 4 deletions arthur/exts/kubernetes/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,12 @@ async def nodes_list(self, ctx: commands.Context) -> None:
table_data, headers=["Name", "Status", "Kubernetes Version", "Created"], tablefmt="psql"
)

return_message = dedent(
"""
return_message = dedent("""
**Cluster nodes**
```
{0}
```
"""
)
""")

await ctx.send(return_message.format(table))

Expand Down
86 changes: 43 additions & 43 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jishaku = "2.5.2"

[tool.poetry.dev-dependencies]
pre-commit = "3.6.0"
ruff = "0.1.11"
ruff = "0.1.14"
taskipy = "1.12.2"

[tool.taskipy.tasks]
Expand Down

0 comments on commit 98bf39e

Please sign in to comment.