Skip to content

Commit

Permalink
chore(deps-dev): Bump black from 23.12.1 to 24.3.0 (#148)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
  • Loading branch information
dependabot[bot] and bryantbiggs authored Mar 20, 2024
1 parent 0a9d791 commit a0fad89
Show file tree
Hide file tree
Showing 20 changed files with 402 additions and 408 deletions.
1 change: 1 addition & 0 deletions eksupgrade/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Handle the main entry logic."""

from .cli import app

app(prog_name="eksupgrade")
1 change: 1 addition & 0 deletions eksupgrade/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Handle CLI specific logic and module definitions."""

from __future__ import annotations

from queue import Queue
Expand Down
1 change: 1 addition & 0 deletions eksupgrade/models/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define the base models to be used across the EKS upgrade tool."""

from __future__ import annotations

from abc import ABC
Expand Down
1 change: 1 addition & 0 deletions eksupgrade/models/eks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define the models to be used across the EKS upgrade tool."""

from __future__ import annotations

import base64
Expand Down
1 change: 1 addition & 0 deletions eksupgrade/src/boto_aws.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define the EKS upgrade boto specific logic."""

from __future__ import annotations

import datetime
Expand Down
1 change: 1 addition & 0 deletions eksupgrade/src/eks_get_image_type.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define the image type logic for EKS."""

from __future__ import annotations

from typing import Optional
Expand Down
1 change: 1 addition & 0 deletions eksupgrade/src/k8s_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
queue (queue.Queue): The queue used for executing jobs (status checks, etc).
"""

from __future__ import annotations

import base64
Expand Down
1 change: 1 addition & 0 deletions eksupgrade/src/latest_ami.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define the AMI specific logic."""

from __future__ import annotations

import boto3
Expand Down
1 change: 1 addition & 0 deletions eksupgrade/src/self_managed.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define the self-managed node logic."""

from __future__ import annotations

import time
Expand Down
1 change: 1 addition & 0 deletions eksupgrade/starter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define the starter module."""

from __future__ import annotations

import datetime
Expand Down
1 change: 1 addition & 0 deletions eksupgrade/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define module level utilities to be used across the EKS Upgrade package."""

import json
import logging
import pkgutil
Expand Down
786 changes: 381 additions & 405 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ build = "poetry build"
[tool.poetry.dependencies]
python = "^3.8"
boto3 = "^1.32"
kubernetes = ">=23.0.0 <29.0.0"
packaging = ">=21.0,<24.0"
kubernetes = ">=23.0.0 <=29.0.0"
packaging = ">=24.0,<25.0"
typer = {extras = ["all"], version = "^0.9"}


Expand All @@ -76,7 +76,7 @@ moto = {extras = ["autoscaling", "ec2", "eks", "ssm", "sts"], version = "^4.2"}

[tool.poetry.group.dev.dependencies]
isort = {extras = ["toml"], version = "^5.13"}
black = "^23.12"
black = ">=23.12,<25.0"
pydocstyle = "^6.3"
mypy = "^1.8"
debugpy = "^1.8"
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define the pytest configuration for fixture reuse."""

import os
from typing import Any, Generator

Expand Down
1 change: 1 addition & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the functionality of the CLI module."""

from typer.testing import CliRunner

from eksupgrade.cli import app
Expand Down
1 change: 1 addition & 0 deletions tests/test_eks_get_image_type.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test EKS Upgrade get image type specific logic."""

from typing import Optional

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/test_k8s_client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test EKS Upgrade k8s client specific logic."""

import pytest

from eksupgrade.src.k8s_client import get_bearer_token, loading_config
Expand Down
1 change: 1 addition & 0 deletions tests/test_models_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the base model logic."""

from eksupgrade.models.base import AwsRegionResource, AwsResource, BaseResource


Expand Down
1 change: 1 addition & 0 deletions tests/test_models_eks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the EKS model logic."""

from kubernetes.client.api.core_v1_api import CoreV1Api
from kubernetes.client.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the util logic."""

from typer.testing import CliRunner

from eksupgrade.utils import (
Expand Down

0 comments on commit a0fad89

Please sign in to comment.