From 1d8b48bd7d268f4f82123e33427f628f481e1a6a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 20:18:54 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/lovesegfault/beautysh: v6.2.1 → v6.4.1](https://github.com/lovesegfault/beautysh/compare/v6.2.1...v6.4.1) - [github.com/asottile/pyupgrade: v3.21.0 → v3.21.1](https://github.com/asottile/pyupgrade/compare/v3.21.0...v3.21.1) - [github.com/psf/black-pre-commit-mirror: 25.9.0 → 25.11.0](https://github.com/psf/black-pre-commit-mirror/compare/25.9.0...25.11.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e5a24ac..52319d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,7 +53,7 @@ repos: args: [--autofix, --indent, '2', --offset, '2'] - repo: https://github.com/lovesegfault/beautysh - rev: v6.2.1 + rev: v6.4.1 hooks: - id: beautysh additional_dependencies: [setuptools] @@ -75,7 +75,7 @@ repos: - id: text-unicode-replacement-char - repo: https://github.com/asottile/pyupgrade - rev: v3.21.0 + rev: v3.21.1 hooks: - id: pyupgrade args: [--py37-plus, --keep-runtime-typing] @@ -96,7 +96,7 @@ repos: require_serial: true - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.9.0 + rev: 25.11.0 hooks: - id: black From 1b768c156cb835d0643e688394ab706c2773988d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D1=82=D1=8B=D0=BD=D0=BE=D0=B2=20=D0=9C?= =?UTF-8?q?=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5?= =?UTF-8?q?=D0=B5=D0=B2=D0=B8=D1=87?= Date: Tue, 11 Nov 2025 14:40:35 +0300 Subject: [PATCH 2/2] Fix pre-commit --- .pre-commit-config.yaml | 2 +- horizon_hwm_store/horizon_hwm_store.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52319d7..eece437 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,7 +53,7 @@ repos: args: [--autofix, --indent, '2', --offset, '2'] - repo: https://github.com/lovesegfault/beautysh - rev: v6.4.1 + rev: v6.2.1 hooks: - id: beautysh additional_dependencies: [setuptools] diff --git a/horizon_hwm_store/horizon_hwm_store.py b/horizon_hwm_store/horizon_hwm_store.py index 81f66a2..1b67dcf 100644 --- a/horizon_hwm_store/horizon_hwm_store.py +++ b/horizon_hwm_store/horizon_hwm_store.py @@ -231,7 +231,7 @@ def force_create_namespace(self) -> HorizonHWMStore: namespace = self.client.create_namespace(NamespaceCreateRequestV1(name=self.namespace)) self._namespace_id = namespace.id # noqa: WPS601 except EntityAlreadyExistsError: - ... + namespace = self._get_namespace(self.namespace) return self # LoginPassword, RetryConfig and TimeoutConfig can be inherited from Pydantic v2 BaseModel