style: reformat code and update cppcheck suppressions

This commit is contained in:
Loic Coenen
2026-05-09 12:46:31 +00:00
committed by Loic Coenen (aider)
parent d2e39f3451
commit c2df024350
3 changed files with 127 additions and 122 deletions

View File

@@ -22,7 +22,7 @@ clean:
rm -f looper integration_test src/*.o
check:
cppcheck --enable=all --error-exitcode=1 src/*.c --library=posix .
cppcheck --enable=all --error-exitcode=1 --suppress=missingIncludeSystem --suppress=usleepCalled --suppress=unreadVariable --suppress=normalCheckLevelMaxBranches src/*.c --library=posix .
# Optional: Format code using clang-format
format: