forked from acts-project/traccc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (35 loc) · 1015 Bytes
/
.pre-commit-config.yaml
File metadata and controls
39 lines (35 loc) · 1015 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
35
36
37
38
39
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
hooks:
- id: clang-format
types_or: [file]
files: \.(c|cpp|hpp|ipp|cu|cuh|sycl|hip)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: \.(diff|patch)$
- id: end-of-file-fixer
exclude: \.(diff|patch)$
- id: check-yaml
- id: check-added-large-files
- repo: local
hooks:
- id: check_quote_includes
name: Check includes with quotes
language: system
entry: .github/check_quote_includes.sh
- repo: local
hooks:
- id: check_taboos
name: Check taboo code patterns
language: system
entry: .github/check_taboos.sh
- repo: local
hooks:
- id: check_duplicate_cu_files
name: Check duplicate .cu file names
language: system
entry: .github/check_duplicate_cu_files.sh
pass_filenames: false