-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.pre-commit-config.yaml
64 lines (64 loc) · 1.6 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
repos:
- repo: local
hooks:
#- id: check-yaml
#name: check-yaml
#entry: check-yaml
#language: python
#types: [yaml]
#stages: [commit]
- id: check-json
name: check-json
entry: check-json
language: python
types: [json]
stages: [Nonepre-commitNone]
- id: check-toml
name: check-toml
entry: check-toml
language: python
types: [toml]
stages: [Nonepre-commitNone]
- id: check-merge-conflict
name: check-merge-conflict
entry: check-merge-conflict
language: python
types: [text]
stages: [Nonepre-commitNone]
- id: mixed-line-ending
name: mixed-line-ending
entry: mixed-line-ending
language: python
types_or: [c, c++, python]
stages: [Nonepre-commitNone]
#- id: clang-tidy
#name: clang-tidy
#entry: clang-tidy --extra-arg="-Iinc" -extra-arg="-I." -extra-arg="-DETHER"
#types_or: [c, c++]
#stages: [commit]
#language: python
#types_or: [c, c++, python]
#- id: splint
#name: Splint
#entry: splint -f cxcp.lcl
#types_or: [c, c++]
#stages: [commit]
#language: system
#types_or: [c, c++, python]
#exclude: ".*py"
# - id: end-of-file-fixer
# name: end-of-file-fixer
# entry: end-of-file-fixer
# language: python
# types_or: [c, c++, python]
# stages: [commit]
- id: trailing-whitespace-fixer
name: trailing-whitespace-fixer
entry: trailing-whitespace-fixer
language: python
types_or: [c, c++, python]
stages: [Nonepre-commitNone]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.2
hooks:
- id: clang-format