refactor: remove global cppcheck suppressions and move usleep suppression locally
Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
2
makefile
2
makefile
@@ -22,7 +22,7 @@ clean:
|
||||
rm -f looper integration_test src/*.o
|
||||
|
||||
check:
|
||||
cppcheck --enable=all --error-exitcode=1 --suppress=unreadVariable --suppress=missingIncludeSystem --suppress=usleepCalled --suppress=normalCheckLevelMaxBranches src/*.c --library=posix .
|
||||
cppcheck --enable=all --error-exitcode=1 --suppress=missingIncludeSystem --suppress=normalCheckLevelMaxBranches src/*.c --library=posix .
|
||||
|
||||
# Optional: Format code using clang-format
|
||||
format:
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
// cppcheck-suppress missingIncludeSystem
|
||||
// cppcheck-suppress usleepCalled
|
||||
// cppcheck-suppress normalCheckLevelMaxBranches
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user