Skip to content

Commit 7fb3afb

Browse files
Add check-frozen pre-commit hook.
* .pre-commit-config.yaml
1 parent 28db3e5 commit 7fb3afb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ repos:
2323
- id: check-executables-have-shebangs
2424
- id: check-merge-conflict
2525

26+
# Enforce frozen revisions in `.pre-commit-config.yaml`
27+
- repo: https://github.com/real-yfprojects/check-pre-commit-config
28+
rev: 27c71bd46101a7de517863033531963b7d04dee2 # frozen: v1.0.0-alpha3
29+
hooks:
30+
- id: check-frozen
31+
2632
- repo: https://github.com/python-poetry/poetry
2733
rev: "cacd43c076748411a759c65dd46858cd8b7ef3b3" # frozen: 1.5.0
2834
hooks:

0 commit comments

Comments
 (0)