Skip to content

Commit 802f949

Browse files
committed
chore: pin prek hooks by commit
1 parent 26e0f98 commit 802f949

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: 'v0.16.4'
4+
rev: aab412d509121cb5f7533134b7e67f9fab59c682 # frozen: v0.16.4
55
hooks:
66
- id: ruff
77
args: [--fix, --exit-non-zero-on-fix]
88
- id: ruff-format
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v6.0.0
10+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
1111
hooks:
1212
- id: fix-byte-order-marker
1313
- id: trailing-whitespace
@@ -16,14 +16,17 @@ repos:
1616
exclude: "\\.svg$|\\.map$|\\.min\\.css$|\\.min\\.js$|\\.po$|\\.pot$"
1717
- id: check-toml
1818
- repo: https://github.com/pre-commit/mirrors-mypy
19-
rev: v2.3.1
19+
rev: 7ff8d35ae36a7d2b968f2f90b4c723e292e594ee # frozen: v2.3.1
2020
hooks:
2121
- id: mypy
22-
additional_dependencies: [pydantic]
22+
language: python
23+
additional_dependencies:
24+
- pydantic==2.13.5
2325
- repo: https://github.com/codespell-project/codespell
24-
rev: v2.4.3
26+
rev: 57b21406f092110c18776e39b0bda50d37c945c8 # frozen: v2.4.3
2527
hooks:
2628
- id: codespell
29+
language: python
2730
additional_dependencies:
28-
- tomli
31+
- tomli==2.4.1
2932
args: [--write-changes]

0 commit comments

Comments
 (0)