@@ -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
@@ -39,31 +39,24 @@ repos:
39
39
^package\/.*$
40
40
)
41
41
42
- - repo : https://github.com/codespell-project/codespell
43
- rev : " v2.3.0"
44
- hooks :
45
- # Spell checking
46
- - id : codespell
47
- exclude : ^.*\.(svd|SVD)$
48
-
49
42
- repo : https://github.com/pre-commit/mirrors-clang-format
50
- rev : " v18.1.3"
43
+ rev : " f6446549e5e97ec9665b9b03e75b87b445857f9a " # v18.1.3
51
44
hooks :
52
45
# C/C++ formatting
53
46
- id : clang-format
54
47
types_or : [c, c++]
55
48
exclude : ^.*\/build_opt\.h$
56
49
57
50
- repo : https://github.com/psf/black-pre-commit-mirror
58
- rev : " 24.10.0 "
51
+ rev : " a4920527036bb9a3f3e6055d595849d67d0da066 " # 25.1.0
59
52
hooks :
60
53
# Python formatting
61
54
- id : black
62
55
types_or : [python]
63
56
args : [--line-length=120] # From the arduino code style. Add as argument rather than creating a new config file.
64
57
65
58
- repo : https://github.com/PyCQA/flake8
66
- rev : " 7.1.1 "
59
+ rev : " 16f5f28a384f0781bebb37a08aa45e65b9526c50 " # 7.2.0
67
60
hooks :
68
61
# Python linting
69
62
- id : flake8
@@ -74,37 +67,44 @@ repos:
74
67
- flake8-simplify
75
68
76
69
- repo : https://github.com/pre-commit/mirrors-prettier
77
- rev : " v3.1.0"
70
+ rev : " ffb6a759a979008c0e6dff86e39f4745a2d9eac4 " # v3.1.0
78
71
hooks :
79
72
# YAML formatting
80
73
- id : prettier
81
74
types_or : [yaml]
82
75
76
+ - repo : https://github.com/codespell-project/codespell
77
+ rev : " 63c8f8312b7559622c0d82815639671ae42132ac" # v2.4.1
78
+ hooks :
79
+ # Spell checking
80
+ - id : codespell
81
+ exclude : ^.*\.(svd|SVD)$
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