@@ -12,7 +12,7 @@ default_language_version:
12
12
13
13
repos :
14
14
- repo : https://github.com/pre-commit/pre-commit-hooks
15
- rev : " v5.0.0"
15
+ rev : " cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b " # v5.0.0
16
16
hooks :
17
17
# Generic checks
18
18
- id : check-case-conflict
@@ -40,23 +40,23 @@ repos:
40
40
)
41
41
42
42
- repo : https://github.com/pre-commit/mirrors-clang-format
43
- rev : " v18.1.3"
43
+ rev : " f6446549e5e97ec9665b9b03e75b87b445857f9a " # v18.1.3
44
44
hooks :
45
45
# C/C++ formatting
46
46
- id : clang-format
47
47
types_or : [c, c++]
48
48
exclude : ^.*\/build_opt\.h$
49
49
50
50
- repo : https://github.com/psf/black-pre-commit-mirror
51
- rev : " 24.10.0 "
51
+ rev : " a4920527036bb9a3f3e6055d595849d67d0da066 " # 25.1.0
52
52
hooks :
53
53
# Python formatting
54
54
- id : black
55
55
types_or : [python]
56
56
args : [--line-length=120] # From the arduino code style. Add as argument rather than creating a new config file.
57
57
58
58
- repo : https://github.com/PyCQA/flake8
59
- rev : " 7.1.1 "
59
+ rev : " 16f5f28a384f0781bebb37a08aa45e65b9526c50 " # 7.2.0
60
60
hooks :
61
61
# Python linting
62
62
- id : flake8
@@ -67,44 +67,44 @@ repos:
67
67
- flake8-simplify
68
68
69
69
- repo : https://github.com/pre-commit/mirrors-prettier
70
- rev : " v3.1.0"
70
+ rev : " ffb6a759a979008c0e6dff86e39f4745a2d9eac4 " # v3.1.0
71
71
hooks :
72
72
# YAML formatting
73
73
- id : prettier
74
74
types_or : [yaml]
75
75
76
76
- repo : https://github.com/codespell-project/codespell
77
- rev : " v2.3.0 "
77
+ rev : " 63c8f8312b7559622c0d82815639671ae42132ac " # v2.4.1
78
78
hooks :
79
79
# Spell checking
80
80
- id : codespell
81
81
exclude : ^.*\.(svd|SVD)$
82
82
83
83
- repo : https://github.com/shellcheck-py/shellcheck-py
84
- rev : " v0.10.0.1"
84
+ rev : " a23f6b85d0fdd5bb9d564e2579e678033debbdff " # v0.10.0.1
85
85
hooks :
86
86
# Bash linting
87
87
- id : shellcheck
88
88
types : [shell]
89
89
90
90
- repo : https://github.com/openstack/bashate
91
- rev : " 2.1.1"
91
+ rev : " fbd7c2534c2701351c603ff700ddf08202430a31 " # 2.1.1
92
92
hooks :
93
93
# Bash formatting
94
94
- id : bashate
95
95
types : [shell]
96
96
args : ["-i", "E006"] # Ignore E006: Line too long
97
97
98
98
- repo : https://github.com/errata-ai/vale
99
- rev : " v3.9.1 "
99
+ rev : " dc4c47923788a413fb5677de6e3370d514aecb78 " # v3.11.2
100
100
hooks :
101
101
# Sync vale styles and lint markdown and reStructuredText
102
102
- id : vale
103
103
name : vale-sync
104
- language_version : " 1.21.6 "
104
+ language_version : " 1.23.2 "
105
105
pass_filenames : false
106
106
args : [sync]
107
107
types_or : [markdown, rst]
108
108
- id : vale
109
- language_version : " 1.21.6 "
109
+ language_version : " 1.23.2 "
110
110
types_or : [markdown, rst]
0 commit comments