Skip to content

Commit 3279857

Browse files
authored
Freeze pre-commit hooks (#1143)
Doing so prevents surprise updates and stops pre-commit warning about mutable tags, such as on the crate-ci/typos repo.
1 parent a5089ee commit 3279857

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ default_language_version:
66

77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v5.0.0
9+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
1010
hooks:
1111
- id: check-added-large-files
1212
- id: check-case-conflict
@@ -17,51 +17,51 @@ repos:
1717
- id: end-of-file-fixer
1818
- id: trailing-whitespace
1919
- repo: https://github.com/tox-dev/pyproject-fmt
20-
rev: v2.5.1
20+
rev: 57b6ff7bf72affdd12c7f3fd6de761ba18a33b3a # frozen: v2.5.1
2121
hooks:
2222
- id: pyproject-fmt
2323
- repo: https://github.com/tox-dev/tox-ini-fmt
24-
rev: 1.5.0
24+
rev: e732f664aa3fd7b32cce3de8abbac43f4c3c375d # frozen: 1.5.0
2525
hooks:
2626
- id: tox-ini-fmt
2727
- repo: https://github.com/rstcheck/rstcheck
28-
rev: v6.2.4
28+
rev: f30c4d170a36ea3812bceb5f33004afc213bd797 # frozen: v6.2.4
2929
hooks:
3030
- id: rstcheck
3131
additional_dependencies:
3232
- sphinx==8.1.3
3333
- tomli==2.2.1
3434
- repo: https://github.com/sphinx-contrib/sphinx-lint
35-
rev: v1.0.0
35+
rev: ff671d6a030a3141634793e6d1e8909ab6091830 # frozen: v1.0.0
3636
hooks:
3737
- id: sphinx-lint
3838
- repo: https://github.com/asottile/pyupgrade
39-
rev: v3.19.1
39+
rev: ce40a160603ab0e7d9c627ae33d7ef3906e2d2b2 # frozen: v3.19.1
4040
hooks:
4141
- id: pyupgrade
4242
args: [--py39-plus]
4343
- repo: https://github.com/adamchainz/django-upgrade
44-
rev: 1.24.0
44+
rev: 700530171ecf380bc829a64388f49d14ecd61c53 # frozen: 1.25.0
4545
hooks:
4646
- id: django-upgrade
4747
args: [--target-version, '4.2']
4848
- repo: https://github.com/psf/black-pre-commit-mirror
49-
rev: 25.1.0
49+
rev: a4920527036bb9a3f3e6055d595849d67d0da066 # frozen: 25.1.0
5050
hooks:
5151
- id: black
5252
- repo: https://github.com/adamchainz/blacken-docs
53-
rev: 1.19.1
53+
rev: 78a9dcbecf4f755f65d1f3dec556bc249d723600 # frozen: 1.19.1
5454
hooks:
5555
- id: blacken-docs
5656
additional_dependencies:
5757
- black==25.1.0
5858
- repo: https://github.com/pycqa/isort
59-
rev: 6.0.1
59+
rev: c8ab4a5b21bac924d106e3103dd7c979fdd0f9bc # frozen: 6.0.1
6060
hooks:
6161
- id: isort
6262
name: isort (python)
6363
- repo: https://github.com/PyCQA/flake8
64-
rev: 7.2.0
64+
rev: 4b5e89b4b108a6c1a000c591d334a99a80d34c7b # frozen: 7.2.0
6565
hooks:
6666
- id: flake8
6767
additional_dependencies:
@@ -70,6 +70,6 @@ repos:
7070
- flake8-logging
7171
- flake8-tidy-imports
7272
- repo: https://github.com/pre-commit/mirrors-mypy
73-
rev: v1.15.0
73+
rev: f40886d54c729f533f864ed6ce584e920feb0af7 # frozen: v1.15.0
7474
hooks:
7575
- id: mypy

0 commit comments

Comments
 (0)