forked from celeritas-project/g4vg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
29 lines (26 loc) · 853 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
29 lines (26 loc) · 853 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0 , 9 Aug 2025
hooks:
- id: check-added-large-files
args: ['--maxkb=100']
- id: check-case-conflict
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
exclude: '\.(diff|patch)$'
- id: trailing-whitespace
exclude: '\.(diff|patch)$'
# C++ formatting
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 719856d56a62953b8d2839fb9e851f25c3cfeef8 # v21.1.2, 25 Sep 2025
hooks:
- id: clang-format
types_or: [file]
files: \.(cc|hh|h|cpp|hpp|cu|cuh)$
ci:
autoupdate_schedule: quarterly
autoupdate_commit_msg: "Update pre-commit version"
# vim: set nowrap tw=100: