Skip to content

Commit

Permalink
Format code to new ruff formatter standards
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Nov 9, 2023
1 parent 77c6938 commit bdd52fb
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions arthur/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""King Arthur is Python Discord's DevOps utility bot."""

import asyncio
import os
from functools import partial
Expand Down
1 change: 1 addition & 0 deletions arthur/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Entrypoint for King Arthur."""

import asyncio

import aiohttp
Expand Down
1 change: 1 addition & 0 deletions arthur/apis/kubernetes/certificates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""APIs for interacting with TLS certificates through cert-manager.io CRDs."""

from typing import Any

from kubernetes_asyncio import client
Expand Down
1 change: 1 addition & 0 deletions arthur/apis/kubernetes/deployments.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""APIs for working with Kubernetes deployments."""

from datetime import UTC, datetime

from kubernetes_asyncio import client
Expand Down
1 change: 1 addition & 0 deletions arthur/apis/kubernetes/jobs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""APIs for interacting with Kubernetes Jobs & Cronjobs."""

from typing import Any

from kubernetes_asyncio import client
Expand Down
1 change: 1 addition & 0 deletions arthur/apis/kubernetes/nodes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""APIs for interacting with Kubernetes nodes."""

from kubernetes_asyncio import client
from kubernetes_asyncio.client.api_client import ApiClient
from kubernetes_asyncio.client.models import V1NodeList
Expand Down
1 change: 1 addition & 0 deletions arthur/bot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module containing the core bot base for King Arthur."""

from pathlib import Path
from typing import Any

Expand Down
1 change: 1 addition & 0 deletions arthur/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utilities for interacting with the config for King Arthur."""

from pydantic_settings import BaseSettings


Expand Down
1 change: 1 addition & 0 deletions arthur/exts/cloudflare/zones.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The zones cog helps with managing Cloudflare zones."""

import aiohttp
import discord
from discord.ext import commands
Expand Down
1 change: 1 addition & 0 deletions arthur/exts/error_handler/error_handler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This cog provides error handling for King Arthur."""

from discord import Message
from discord.ext import commands
from discord.ext.commands import Cog
Expand Down
1 change: 1 addition & 0 deletions arthur/exts/kubernetes/certificates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The Certificates cog helps with managing TLS certificates."""

from textwrap import dedent

from discord.ext import commands
Expand Down
1 change: 1 addition & 0 deletions arthur/exts/kubernetes/deployments.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The Deployments cog helps with managing Kubernetes deployments."""

from textwrap import dedent

from discord import ButtonStyle, Interaction, ui
Expand Down
1 change: 1 addition & 0 deletions arthur/exts/kubernetes/jobs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The zones cog helps with managing Cloudflare zones."""

import discord
from discord.ext import commands
from kubernetes_asyncio.client.models import V1CronJobList
Expand Down
1 change: 1 addition & 0 deletions arthur/exts/kubernetes/nodes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The Nodes cog helps with managing Kubernetes nodes."""

from textwrap import dedent

from discord.ext import commands
Expand Down

0 comments on commit bdd52fb

Please sign in to comment.