Skip to content

Commit 7c10f1e

Browse files
committed
Freeze pre-commit hooks
1 parent e51e33f commit 7c10f1e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,28 @@
1414
repos:
1515
# Autoupdate: Python code
1616
- repo: https://github.com/asottile/pyupgrade
17-
rev: v3.19.1
17+
rev: ce40a160603ab0e7d9c627ae33d7ef3906e2d2b2 # frozen: v3.19.1
1818
hooks:
1919
- id: pyupgrade
2020
args: [--py312-plus]
2121

2222
# Automatically sort python imports
2323
- repo: https://github.com/PyCQA/isort
24-
rev: 6.0.1
24+
rev: c8ab4a5b21bac924d106e3103dd7c979fdd0f9bc # frozen: 6.0.1
2525
hooks:
2626
- id: isort
2727
args: [--profile, black]
2828

2929
# Autoformat: Python code
3030
- repo: https://github.com/psf/black
31-
rev: 25.1.0
31+
rev: 8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b # frozen: 25.1.0
3232
hooks:
3333
- id: black
3434
args: [--target-version=py312]
3535

3636
# Check python code static typing
3737
- repo: https://github.com/pre-commit/mirrors-mypy
38-
rev: v1.15.0
38+
rev: f40886d54c729f533f864ed6ce584e920feb0af7 # frozen: v1.15.0
3939
hooks:
4040
- id: mypy
4141
args: [--config, ./mypy.ini]
@@ -60,14 +60,14 @@ repos:
6060

6161
# Autoformat: YAML, JSON, Markdown, etc.
6262
- repo: https://github.com/rbubley/mirrors-prettier
63-
rev: v3.5.3
63+
rev: 787fb9f542b140ba0b2aced38e6a3e68021647a3 # frozen: v3.5.3
6464
hooks:
6565
- id: prettier
6666
exclude: "{{cookiecutter.stack_name}}/.github/workflows/docker.yml"
6767

6868
# `pre-commit sample-config` default hooks
6969
- repo: https://github.com/pre-commit/pre-commit-hooks
70-
rev: v5.0.0
70+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
7171
hooks:
7272
- id: check-added-large-files
7373
- id: end-of-file-fixer
@@ -76,28 +76,28 @@ repos:
7676

7777
# Lint: Dockerfile
7878
- repo: https://github.com/hadolint/hadolint
79-
rev: v2.13.1-beta
79+
rev: c3dc18df7a501f02a560a2cc7ba3c69a85ca01d3 # frozen: v2.13.1-beta
8080
hooks:
8181
- id: hadolint-docker
8282
entry: hadolint/hadolint:v2.12.1-beta hadolint
8383

8484
# Lint: YAML
8585
- repo: https://github.com/adrienverge/yamllint
86-
rev: v1.37.1
86+
rev: 79a6b2b1392eaf49cdd32ac4f14be1a809bbd8f7 # frozen: v1.37.1
8787
hooks:
8888
- id: yamllint
8989
args: ["-d {extends: relaxed, rules: {line-length: disable}}", "-s"]
9090
exclude: "{{cookiecutter.stack_name}}/.github/workflows/docker.yml"
9191

9292
# Lint: Python
9393
- repo: https://github.com/PyCQA/flake8
94-
rev: 7.2.0
94+
rev: 4b5e89b4b108a6c1a000c591d334a99a80d34c7b # frozen: 7.2.0
9595
hooks:
9696
- id: flake8
9797

9898
# Lint: Markdown
9999
- repo: https://github.com/DavidAnson/markdownlint-cli2
100-
rev: v0.17.2
100+
rev: d174eb7a8f35e05d4065c82d375ad84aa0b32352 # frozen: v0.17.2
101101
hooks:
102102
- id: markdownlint-cli2
103103
args: [--fix]

0 commit comments

Comments
 (0)