-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (34 loc) · 872 Bytes
/
.pre-commit-config.yaml
File metadata and controls
34 lines (34 loc) · 872 Bytes
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: |
(?x)^(
changelog/.*\.md
)$
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
- id: mixed-line-ending
exclude: |
(?x)^(
docs/make.bat|
changelog/.*\.md
)$
args:
- --fix=lf
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v20.1.0
hooks:
- id: clang-format
stages: [manual]
files: '.*\.[c|cpp|h|ino]'
args:
- "--style={BasedOnStyle: llvm, ColumnLimit: 0}"
exclude: ats-mini/patch_init.h
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint