From cd2d59548ff83d85d9f62528f4c3964de85b133c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 06:14:41 +0000 Subject: [PATCH 1/2] deps: update pre-commit hook psf/black-pre-commit-mirror to v24 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 259a8131..746acc81 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: - id: isort - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.12.1 + rev: 24.1.0 hooks: - id: black From 4826a8696e6dc117383cbef9424f1b8bc555e575 Mon Sep 17 00:00:00 2001 From: jo Date: Fri, 26 Jan 2024 16:24:50 +0100 Subject: [PATCH 2/2] style: format files --- hcloud/load_balancers/domain.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hcloud/load_balancers/domain.py b/hcloud/load_balancers/domain.py index 2d480eec..ffc430ac 100644 --- a/hcloud/load_balancers/domain.py +++ b/hcloud/load_balancers/domain.py @@ -200,9 +200,9 @@ def to_payload(self) -> dict[str, Any]: if self.health_check.http.response is not None: health_check_http["response"] = self.health_check.http.response if self.health_check.http.status_codes is not None: - health_check_http[ - "status_codes" - ] = self.health_check.http.status_codes + health_check_http["status_codes"] = ( + self.health_check.http.status_codes + ) if self.health_check.http.tls is not None: health_check_http["tls"] = self.health_check.http.tls