-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
.pre-commit-config.yaml
33 lines (33 loc) · 1 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
exclude: '\.expected^'
- id: end-of-file-fixer
exclude: '\.expected^'
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'ad270fb9db427f956ce8eb50c74617ed117b9bfc'
hooks:
- id: clang-format
- repo: https://github.com/pocc/pre-commit-hooks
rev: '336fdd7c3cab698ead0b1c95157b9e74d3906b62'
hooks:
- id: cppcheck
args: [
"--platform=unix64",
"--language=c++",
"--inline-suppr",
"--suppressions-list=cppcheck-suppressions.txt",
"--suppress=unusedStructMember",
"--suppress=checkersReport",
"--check-level=exhaustive"
]
- repo: https://github.com/compilerla/conventional-pre-commit
rev: 'v3.2.0'
hooks:
- id: conventional-pre-commit
stages: [ commit-msg ]
args: [ ]