forked from amd/aocl-dlp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
46 lines (44 loc) · 1.13 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
46 lines (44 loc) · 1.13 KB
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v20.1.5'
hooks:
- id: clang-format
types_or: [c, c++]
exclude: src/include/jit/xbyak
- repo: local
hooks:
- id: copyright-checker
name: Copyright Checker
entry: scripts/copyright/copyright-checker.py
language: script
types_or: [c, c++]
exclude: src/include/jit/xbyak
pass_filenames: true
verbose: true
# - repo: https://github.com/pocc/pre-commit-hooks
# rev: v1.3.5
# hooks:
# - id: clang-format
# args: [--style=Google]
# - id: clang-tidy
# - id: oclint
# - id: uncrustify
# - id: cppcheck
# types_or: [c++]
# exclude: classic/JIT/xbyak
# files: \.(c|cpp|h|hpp)$
# args:
# - --std=c11
# - --std=c++17
# - --enable=all
# - --inconclusive
# - --force
# - --error-exitcode=1
# - id: cpplint
# - id: include-what-you-use