forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
51 lines (48 loc) · 1.52 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
51 lines (48 loc) · 1.52 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
47
48
49
50
51
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.1
hooks:
- id: clang-format
name: clang-format Galeri
types_or: [c++, c, cuda]
files: "packages/galeri/(src-xpetra|example-tpetra|example-xpetra|test)/.*pp"
- id: clang-format
name: clang-format Ifpack2
types_or: [c++, c, cuda]
files: "packages/ifpack2/.*pp"
- id: clang-format
name: clang-format MueLu
types_or: [c++, c, cuda]
files: "packages/muelu/.*pp"
- id: clang-format
name: clang-format Teko
types_or: [c++, c, cuda]
files: "packages/teko/.*pp"
- id: clang-format
name: clang-format Tempus
types_or: [c++, c, cuda]
files: "packages/tempus/.*pp"
exclude: "packages/tempus/examples/.*"
- id: clang-format
name: clang-format Tpetra
types_or: [c++, c, cuda]
files: "packages/tpetra/.*pp"
- id: clang-format
name: clang-format Xpetra
types_or: [c++, c, cuda]
files: "packages/xpetra/.*pp"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-xml
files: ".*xml"
exclude: "(packages/teuchos/parameterlist/.*|packages/ifpack2/test/belos/test_2_RILUK_Experimental_nos1_hb.xml|packages/anasazi/epetra/example/.*)"
- id: check-yaml
files: "(.*yaml|.*yml)"
exclude: "packages/teuchos/.*"
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
name: cmake-format MueLu
files: "packages/muelu/.*CMakeLists.txt"