forked from dioptra-io/caracal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
38 lines (34 loc) · 1.18 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
exclude: ^(cmake/|data/|extern/|README.md).*
repos:
- repo: https://github.com/bmorcos/pre-commit-hooks-cpp
rev: 9a5aa38207bf557961110d6a4f7e3a9d352911f9
hooks:
- id: clang-format
args: [ "-style=file" ]
- id: cpplint
args: [ "--filter=-build/c++11,-build/include_order,-legal/copyright,-readability/todo,-runtime/references,-whitespace/line_length" ]
- id: cppcheck
args:
- "--suppress=uninitMemberVar:include/caracal/sender.hpp"
- "--suppress=missingReturn:src/protocols.cpp"
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
args: [ "--dangle-parens", "--enable-markup", "--in-place" ]
- id: cmake-lint
args: [ "--dangle-parens" ]
- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta
hooks:
- id: hadolint
args: [ "--ignore", "DL3008", "--ignore", "DL3013" ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
exclude_types:
- markdown
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files