Skip to content

Commit 01b8f6f

Browse files
committed
ci(pre-commit): Lock versions to hash
1 parent 3e9fd4d commit 01b8f6f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Diff for: .pre-commit-config.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ default_language_version:
1212

1313
repos:
1414
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: "v5.0.0"
15+
rev: "cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b" # v5.0.0
1616
hooks:
1717
# Generic checks
1818
- id: check-case-conflict
@@ -40,23 +40,23 @@ repos:
4040
)
4141
4242
- repo: https://github.com/pre-commit/mirrors-clang-format
43-
rev: "v18.1.3"
43+
rev: "f6446549e5e97ec9665b9b03e75b87b445857f9a" # v18.1.3
4444
hooks:
4545
# C/C++ formatting
4646
- id: clang-format
4747
types_or: [c, c++]
4848
exclude: ^.*\/build_opt\.h$
4949

5050
- repo: https://github.com/psf/black-pre-commit-mirror
51-
rev: "24.10.0"
51+
rev: "a4920527036bb9a3f3e6055d595849d67d0da066" # 25.1.0
5252
hooks:
5353
# Python formatting
5454
- id: black
5555
types_or: [python]
5656
args: [--line-length=120] #From the arduino code style. Add as argument rather than creating a new config file.
5757

5858
- repo: https://github.com/PyCQA/flake8
59-
rev: "7.1.1"
59+
rev: "16f5f28a384f0781bebb37a08aa45e65b9526c50" # 7.2.0
6060
hooks:
6161
# Python linting
6262
- id: flake8
@@ -67,44 +67,44 @@ repos:
6767
- flake8-simplify
6868

6969
- repo: https://github.com/pre-commit/mirrors-prettier
70-
rev: "v3.1.0"
70+
rev: "ffb6a759a979008c0e6dff86e39f4745a2d9eac4" # v3.1.0
7171
hooks:
7272
# YAML formatting
7373
- id: prettier
7474
types_or: [yaml]
7575

7676
- repo: https://github.com/codespell-project/codespell
77-
rev: "v2.3.0"
77+
rev: "63c8f8312b7559622c0d82815639671ae42132ac" # v2.4.1
7878
hooks:
7979
# Spell checking
8080
- id: codespell
8181
exclude: ^.*\.(svd|SVD)$
8282

8383
- repo: https://github.com/shellcheck-py/shellcheck-py
84-
rev: "v0.10.0.1"
84+
rev: "a23f6b85d0fdd5bb9d564e2579e678033debbdff" # v0.10.0.1
8585
hooks:
8686
# Bash linting
8787
- id: shellcheck
8888
types: [shell]
8989

9090
- repo: https://github.com/openstack/bashate
91-
rev: "2.1.1"
91+
rev: "fbd7c2534c2701351c603ff700ddf08202430a31" # 2.1.1
9292
hooks:
9393
# Bash formatting
9494
- id: bashate
9595
types: [shell]
9696
args: ["-i", "E006"] # Ignore E006: Line too long
9797

9898
- repo: https://github.com/errata-ai/vale
99-
rev: "v3.9.1"
99+
rev: "dc4c47923788a413fb5677de6e3370d514aecb78" # v3.11.2
100100
hooks:
101101
# Sync vale styles and lint markdown and reStructuredText
102102
- id: vale
103103
name: vale-sync
104-
language_version: "1.21.6"
104+
language_version: "1.23.2"
105105
pass_filenames: false
106106
args: [sync]
107107
types_or: [markdown, rst]
108108
- id: vale
109-
language_version: "1.21.6"
109+
language_version: "1.23.2"
110110
types_or: [markdown, rst]

0 commit comments

Comments
 (0)