forked from dealii/dealii
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
executable file
·48 lines (48 loc) · 1.07 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: [--maxkb=8192]
- id: check-merge-conflict
- id: check-json
exclude: tests/a-framework/parameter_file_3\.json
- id: check-toml
- id: check-yaml
args: [--allow-multiple-documents]
- id: end-of-file-fixer
exclude: |
(?x)(
\.output|
\.run_only|
\.diff|
^bundled/
)
- id: no-commit-to-branch
args: [--branch,master]
- id: trailing-whitespace
files: |
(?x)(
\.(cc|h$|html|doc|txt)|
^doc/news
)
exclude: ^bundled/
- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.2
hooks:
- id: gitleaks
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v16.0.6
hooks:
- id: clang-format
files: |
(?x)(
\.inst\.in |
\.cc |
\.h
)$
- repo: https://github.com/crate-ci/typos
rev: v1.28.1
hooks:
- id: typos
files: (?x) ^(doc|examples|include|source|tests)/