From 5343d4398e2aa4a4c4145cc76c94803ccf6e08e3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 16:42:09 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/integration/conftest.py | 14 +++++++------- tests/integration/conftest_auth.py | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 1606fb5..09d10c9 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -43,13 +43,13 @@ def config_factory( auth_config: PlatformAuthConfig, kube_config: KubeConfig, cluster_name: str ) -> Callable[..., Config]: def _f(**kwargs: Any) -> Config: - defaults = dict( - server=ServerConfig(host="0.0.0.0", port=8080), - platform_auth=auth_config, - kube=kube_config, - cluster_name=cluster_name, - cors=CORSConfig(allowed_origins=["https://neu.ro"]), - ) + defaults = { + "server": ServerConfig(host="0.0.0.0", port=8080), + "platform_auth": auth_config, + "kube": kube_config, + "cluster_name": cluster_name, + "cors": CORSConfig(allowed_origins=["https://neu.ro"]), + } kwargs = {**defaults, **kwargs} return Config(**kwargs) diff --git a/tests/integration/conftest_auth.py b/tests/integration/conftest_auth.py index a9b976c..5c808b0 100644 --- a/tests/integration/conftest_auth.py +++ b/tests/integration/conftest_auth.py @@ -9,7 +9,6 @@ from yarl import URL from platform_secrets.config import PlatformAuthConfig - from tests.integration.conftest import get_service_url, random_name