Skip to content

Commit 345cb05

Browse files
codebydivineclaude
andcommitted
feat: update pre-commit hooks to latest bleeding-edge versions
- Updated ruff: v0.8.4 → v0.12.4 - Updated pre-commit-hooks: v5.0.0 → bleeding-edge (582b9c66) - Updated mypy: v1.14.1 → v1.17.0 - Updated bandit: 1.7.5 → bleeding-edge (5a820865) - Updated detect-secrets: v1.4.0 → bleeding-edge (50119d65) - Added pragma comments to suppress detect-secrets false positives for git hashes - Preserved Python 3.13 language version and additional MyPy dependencies - Standardized with DIVINE repositories for consistency 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 817ca64 commit 345cb05

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See https://pre-commit.com for more information
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.8.4
4+
rev: v0.12.4
55
hooks:
66
# Run the linter
77
- id: ruff
@@ -10,7 +10,7 @@ repos:
1010
- id: ruff-format
1111

1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: v5.0.0
13+
rev: 582b9c66e0791980685c8b80bb11e6a3df1a06ef # pragma: allowlist secret
1414
hooks:
1515
- id: trailing-whitespace
1616
- id: end-of-file-fixer
@@ -23,22 +23,22 @@ repos:
2323
language_version: python3.13
2424

2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: v1.14.1
26+
rev: v1.17.0
2727
hooks:
2828
- id: mypy
2929
additional_dependencies: [types-requests, divine-typed-requests==0.1.10, divine-type-enforcer==0.1.8, httpx, anyio]
3030
args: [--ignore-missing-imports]
3131
files: ^src/
3232

3333
- repo: https://github.com/PyCQA/bandit
34-
rev: 1.7.5
34+
rev: 5a820865d7041564c0d7c576840dc272835dfa0d # pragma: allowlist secret
3535
hooks:
3636
- id: bandit
3737
args: ["-c", "pyproject.toml"]
3838
additional_dependencies: ["bandit[toml]"]
3939

4040
- repo: https://github.com/Yelp/detect-secrets
41-
rev: v1.4.0
41+
rev: 50119d658ab48021cad234fc5c8d3253263b2ec0 # pragma: allowlist secret
4242
hooks:
4343
- id: detect-secrets
4444
args: ['--baseline', '.secrets.baseline']

0 commit comments

Comments
 (0)