Skip to content

Commit 7f64ff1

Browse files
n24q02mclaude
andcommitted
fix: pin pre-commit hooks to commit SHA
Prevent supply chain attacks from tag mutation. Tags preserved as comments for readability. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cbf982d commit 7f64ff1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
# Common Checks
44
# ============================================================================
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v5.0.0
6+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0
77
hooks:
88
- id: trailing-whitespace
99
name: trim trailing whitespace
@@ -27,7 +27,7 @@ repos:
2727
# Python
2828
# ============================================================================
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
30-
rev: v0.8.6
30+
rev: 89c421dff2e1026ba12cdb9ebd731f4a83aa8021 # v0.8.6
3131
hooks:
3232
- id: ruff
3333
name: ruff lint

0 commit comments

Comments
 (0)