-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.pre-commit-config.yaml
72 lines (70 loc) · 1.66 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: Unlicense
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: trailing-whitespace
exclude: |
(?x)^(
grid_common/lua-5.4.3/|
grid_esp/bootloader/|
grid_make/thirdparty/|
grid_make/samd51a/|
grid_make/hal/|
grid_make/hpl/|
grid_make/hri/|
grid_make/stdio_redirect/|
grid_make/CMSIS/
)
- id: end-of-file-fixer
exclude: |
(?x)^(
grid_common/lua-5.4.3/|
grid_esp/bootloader/|
grid_make/thirdparty/|
grid_make/samd51a/|
grid_make/hal/|
grid_make/hpl/|
grid_make/hri/|
grid_make/stdio_redirect/|
grid_make/CMSIS/
)
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
args: [-w]
exclude: |
(?x)^(
grid_common/lua-5.4.3/|
grid_esp/bootloader/|
grid_make/thirdparty/|
grid_make/samd51a/|
grid_make/hal/|
grid_make/hpl/|
grid_make/hri/|
grid_make/stdio_redirect/|
grid_make/CMSIS/
)
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
hooks:
- id: clang-format
exclude: |
(?x)^(
grid_common/lua-5.4.3/|
grid_esp/bootloader/|
grid_make/thirdparty/|
grid_make/samd51a/|
grid_make/hal/|
grid_make/hpl/|
grid_make/hri/|
grid_make/stdio_redirect/|
grid_make/CMSIS/|
grid_make/usb/|
grid_make/config/|
grid_make/examples/
)