From 5b1cacf12dc0469061e39b3f1103ed4dcf297918 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Dec 2025 17:41:55 +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/astral-sh/ruff-pre-commit: v0.14.6 → v0.14.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.6...v0.14.7) - [github.com/pre-commit/mirrors-mypy: v1.18.2 → v1.19.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.18.2...v1.19.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5be38a49d..458cee037 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,14 +30,14 @@ repos: - id: check-added-large-files - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.14.6' + rev: 'v0.14.7' hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.18.2 + rev: v1.19.0 hooks: - id: mypy additional_dependencies: From 7e02cb6d5fe5f3a0ed06cf5db8c0859e830cadd7 Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Tue, 2 Dec 2025 16:59:20 +0100 Subject: [PATCH 2/2] fix: correct type annotation for s3_client_kwargs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed s3_client_kwargs from dict[str, str] to dict[str, Any] to fix mypy type error when unpacking kwargs to create_client(). The S3 client accepts various parameter types, not just strings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- diracx-core/src/diracx/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diracx-core/src/diracx/core/settings.py b/diracx-core/src/diracx/core/settings.py index ef11459f8..2568c13bc 100644 --- a/diracx-core/src/diracx/core/settings.py +++ b/diracx-core/src/diracx/core/settings.py @@ -175,7 +175,7 @@ class SandboxStoreSettings(ServiceSettingsBase): model_config = SettingsConfigDict(env_prefix="DIRACX_SANDBOX_STORE_") bucket_name: str - s3_client_kwargs: dict[str, str] + s3_client_kwargs: dict[str, Any] auto_create_bucket: bool = False url_validity_seconds: int = 5 * 60 se_name: str = "SandboxSE"