Skip to content

Commit 050197c

Browse files
authored
Freeze pre-commit hook revisions (#16312)
1 parent c10142f commit 050197c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v6.0.0
3+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
@@ -11,7 +11,8 @@ repos:
1111
args: [--fix=lf]
1212
- id: check-case-conflict
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.15.20 # must match requirements-tests.txt
14+
# The Ruff version must match requirements-tests.txt.
15+
rev: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 # frozen: v0.15.20
1516
hooks:
1617
- id: ruff
1718
name: Run ruff on stubs, tests and scripts
@@ -27,11 +28,11 @@ repos:
2728
- "--unsafe-fixes"
2829
files: '.*test_cases/.+\.py$'
2930
- repo: https://github.com/psf/black-pre-commit-mirror
30-
rev: 26.5.1
31+
rev: 4160603246a6b365d4a2af661c6d71b0a0f50478 # frozen: 26.5.1
3132
hooks:
3233
- id: black
3334
- repo: https://github.com/pycqa/flake8
34-
rev: 7.3.0
35+
rev: c48217e1fc006c2dddd14df54e83b67da15de5cd # frozen: 7.3.0
3536
hooks:
3637
- id: flake8
3738
language: python

0 commit comments

Comments
 (0)