We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 62cec23 + 5e9ef79 commit 22a00bdCopy full SHA for 22a00bd
.pre-commit-config.yaml
@@ -46,8 +46,12 @@ repos:
46
description: Run `cppcheck` against C/C++ source files
47
language: system
48
files: \.(c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
49
- entry: cppcheck --error-exitcode=1
50
- args: [--enable=warning]
+ entry: cppcheck
+ args:
51
+ - --enable=warning
52
+ - --inline-suppr
53
+ - --project=compile_commands.json
54
+ - --error-exitcode=1]
55
56
- id: compilation
57
name: Compilation
0 commit comments