Skip to content

Commit 47c2b29

Browse files
pre-commit-ci[bot]chrisburrclaude
authored
[pre-commit.ci] pre-commit autoupdate (#713)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.6 → v0.14.7](astral-sh/ruff-pre-commit@v0.14.6...v0.14.7) - [github.com/pre-commit/mirrors-mypy: v1.18.2 → v1.19.0](pre-commit/mirrors-mypy@v1.18.2...v1.19.0) * fix: correct type annotation for s3_client_kwargs 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 <noreply@anthropic.com> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Chris Burr <christopher.burr@cern.ch> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5696ca3 commit 47c2b29

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ repos:
3030
- id: check-added-large-files
3131

3232
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: 'v0.14.6'
33+
rev: 'v0.14.7'
3434
hooks:
3535
- id: ruff
3636
args: ["--fix", "--show-fixes"]
3737
- id: ruff-format
3838

3939
- repo: https://github.com/pre-commit/mirrors-mypy
40-
rev: v1.18.2
40+
rev: v1.19.0
4141
hooks:
4242
- id: mypy
4343
additional_dependencies:

diracx-core/src/diracx/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class SandboxStoreSettings(ServiceSettingsBase):
175175
model_config = SettingsConfigDict(env_prefix="DIRACX_SANDBOX_STORE_")
176176

177177
bucket_name: str
178-
s3_client_kwargs: dict[str, str]
178+
s3_client_kwargs: dict[str, Any]
179179
auto_create_bucket: bool = False
180180
url_validity_seconds: int = 5 * 60
181181
se_name: str = "SandboxSE"

0 commit comments

Comments
 (0)