diff options
| author | Jan Sucan <jan@jansucan.com> | 2021-05-30 17:12:51 +0200 |
|---|---|---|
| committer | Jan Sucan <jan@jansucan.com> | 2021-05-30 18:06:24 +0200 |
| commit | 2ec55caeeafe4cc381386b8f708f6f1f76bffc3f (patch) | |
| tree | d2274464baeaaae4e4c8f6dd70d16b5b2e475fd0 | |
| parent | e6d470010a296064db894df2c1f4b373af13e17f (diff) | |
pre-commit: Add cppcheck checker
| -rw-r--r-- | .pre-commit-config.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 20aae69..ca17b76 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,3 +16,8 @@ repos: 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, src] |
