.pre-commit-config.yaml 650 Bytes
Newer Older
Jeff Rasley's avatar
Jeff Rasley committed
1
2
3
4
5
6
7
8
9
10
11

repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v1.2.3
    hooks:
    -   id: trailing-whitespace
        exclude: "examples/"
    -   id: check-yaml
        exclude: "examples/"
    -   id: end-of-file-fixer
        exclude: "examples/"
12
        exclude: "docs/CNAME"
Jeff Rasley's avatar
Jeff Rasley committed
13
14
15
16
17
18
19


-   repo: https://github.com/pre-commit/mirrors-yapf
    rev: v0.29.0
    hooks:
    -   id: yapf
        exclude: "examples/"
20
21
22
23
24
25

-   repo: https://gitlab.com/daverona/pre-commit-cpp
    rev: 0.6.0
    hooks:
    -   id: clang-format  # formatter of C/C++ code based on a style guide: LLVM, Google, Chromium, Mozilla, and WebKit available
        args: []