Skip to content

Commit e66f4b3

Browse files
authored
Merge pull request #1488 from ANO3457/freeze-pre-commit-hooks-1441
Freeze all pre-commit hook revisions to commit SHAs (closes #1441)
2 parents 9e1288b + 26ecf88 commit e66f4b3

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ minimum_pre_commit_version: 4.0.0
88
default_stages: [pre-commit]
99
repos:
1010
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v6.0.0
11+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
1212
hooks:
1313
- id: check-added-large-files
1414
- id: check-case-conflict
@@ -25,36 +25,36 @@ repos:
2525
- id: debug-statements
2626

2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.17.3
28+
rev: 25bcf95026b96e2dd3c0aec3090c3d6ef6ca2e6c # frozen: v0.17.3
2929
hooks:
3030
- id: ruff-check
3131
args: [--fix, --exit-non-zero-on-fix, --respect-gitignore, --show-fixes]
3232
- id: ruff-format
3333

3434
- repo: https://github.com/zizmorcore/zizmor-pre-commit
35-
rev: v1.31.1
35+
rev: c92afdf2c6ca336aaa8f39e2bd8d48f62dbd8e1f # frozen: v1.31.1
3636
hooks:
3737
- id: zizmor
3838
args: [--no-progress, --fix]
3939

4040
- repo: https://github.com/tox-dev/pyproject-fmt
41-
rev: v2.30.3
41+
rev: 50e0f3aee9dc5747a5f173f79a7417403c18dda6 # frozen: v2.30.3
4242
hooks:
4343
- id: pyproject-fmt
4444

4545
- repo: https://github.com/rstcheck/rstcheck
46-
rev: v6.3.0
46+
rev: d8774e96810795967ed9603f445b4e751e7b313f # frozen: v6.3.0
4747
hooks:
4848
- id: rstcheck
4949
additional_dependencies: [sphinx, toml]
5050

5151
- repo: https://github.com/fizyk/pyproject-validator
52-
rev: v1.1.0
52+
rev: dba43a3da860553a5d41824ef949c244658cd6d1 # frozen: v1.1.0
5353
hooks:
5454
- id: check-python-version-consistency
5555

5656
- repo: https://github.com/kjanat/actionlint
57-
rev: v1.17.0
57+
rev: 08bb2c4f0d039744455b87aef1c647fb8b66d37b # frozen: v1.17.0
5858
hooks:
5959
- id: actionlint
6060

‎newsfragments/1441.misc.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Freeze all pre-commit hook revisions to commit SHAs.

0 commit comments

Comments
 (0)