-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
51 lines (51 loc) · 1.16 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://gitlab.com/daverona/pre-commit/cpp
rev: 0.8.0
hooks:
- id: cppcheck
args: [
--quiet,
--language=c++,
--enable=all,
--inline-suppr,
--suppress=unmatchedSuppression,
--suppress=unusedFunction,
--suppress=missingInclude
]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v13.0.0
hooks:
- id: clang-format
args: [
-style=file,
--dry-run,
--Werror
]
- repo: local
hooks:
- id: copyright
name: Copyright
entry: skyward-boardcore/scripts/linter.py
args: [
--copyright,
src
]
pass_filenames: false
language: python
- repo: local
hooks:
- id: find
name: Find
entry: skyward-boardcore/scripts/linter.py
args: [
--find,
src
]
pass_filenames: false
language: python