aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: bb522e7c49032785bafc4c7b1f4406430748da4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.5.0
    hooks:
    -   id: trailing-whitespace
    -   id: end-of-file-fixer
-   repo: https://github.com/doublify/pre-commit-clang-format
    rev: 62302476d0da01515660132d76902359bed0f782
    hooks:
    -   id: clang-format
        args: [--style=file]
-   repo: https://github.com/Lucas-C/pre-commit-hooks
    rev: v1.1.9
    hooks:
    -   id: forbid-tabs
        exclude: '^.*Makefile$|^.*\.mk$'
-   repo: https://gitlab.com/daverona/pre-commit/cpp
    rev: 0.8.0
    hooks:
      - id: cppcheck
        args: [--enable=all, --force, --suppress=missingIncludeSystem, --suppress=unmatchedSuppression, --inline-suppr, --check-level=exhaustive, src]