forked from tbeu/matio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (32 loc) · 907 Bytes
/
.pre-commit-config.yaml
File metadata and controls
34 lines (32 loc) · 907 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
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.5
hooks:
- id: clang-format
files: ^(src\/.+\.[ch]|tools\/matdump.c|test\/test_mat.c)$
exclude: ^(src\/fortran\/matio_internal.c|src\/snprintf.c|src\/safe-math.h)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
files: ^src\/.+\.[ch]$
- id: end-of-file-fixer
files: ^src\/.+\.[ch]$
- id: fix-byte-order-marker
files: ^src\/.+\.[ch]$
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
additional_dependencies: [pyyaml>=5.1]
args:
- --line-width=120
- --tab-size=4
exclude: cmake/conan.cmake
- id: cmake-lint
additional_dependencies: [pyyaml>=5.1]
args:
- --line-width=120
- --tab-size=4
- --disabled-codes=C0103
exclude: cmake/conan.cmake