From e2ee4462cc930c46ed3da4d672d2b0bce4e1cdeb Mon Sep 17 00:00:00 2001 From: Alex DeJarnatt Date: Thu, 26 Mar 2026 17:43:10 -0400 Subject: [PATCH] update pytest ini example replace suppress `--suppress=normalCheckLevelMaxBranches` with `--check-level=exhaustive` in example config for better conformance with cppcheck recommendation. --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 8c0acb5..951c46d 100644 --- a/README.md +++ b/README.md @@ -59,15 +59,9 @@ configuration: [pytest] cppcheck_args = --enable=warning,style,performance,portability - --suppress=missingIncludeSystem - --suppress=normalCheckLevelMaxBranches + --check-level=exhaustive ``` -`missingIncludeSystem` suppresses noise about system headers that aren't -available to cppcheck. `normalCheckLevelMaxBranches` suppresses an -informational message that cppcheck emits on complex files and that would -otherwise be reported as a failure. - ### `cppcheck_extensions` File extensions to collect. Default: `.c .cpp`.