Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 8, 2024
1 parent 641f8c0 commit e51126b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion tests/integration/conftest_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from yarl import URL

from platform_secrets.config import PlatformAuthConfig

from tests.integration.conftest import get_service_url, random_name


Expand Down

0 comments on commit e51126b

Please sign in to comment.