/ .pre-commit-config.yaml
.pre-commit-config.yaml
 1  exclude: ^(src/third_party|src/bsp)
 2  repos:
 3  -   repo: https://github.com/sofarocean/pre-commit-hooks
 4      rev: v2.3.0
 5      hooks:
 6      -   id: end-of-file-fixer
 7      -   id: trailing-whitespace
 8  -   repo: https://github.com/sofarocean/pocc-pre-commit-hooks
 9      rev: v1.3.5
10      hooks:
11      -   id: cppcheck
12          args: [--inline-suppr, --language=c++]