fix(pre-commit): remove cppcheck --force to prevent OOM

--force checks all preprocessor configurations, causing exponential
memory growth with ~50 C/C++ files. Default max of 12 configs is
sufficient and stays well under 4GB RAM.
This commit is contained in:
Krzysztof kuhy Rudnicki 2026-04-12 21:03:48 +02:00
parent f6b6995b0e
commit d6f5112dc6

View File

@ -343,7 +343,6 @@ repos:
exclude: ^(pomodoro_app/|horatio/)
args:
- --enable=warning,portability
- --force
- --quiet
- --error-exitcode=1
- --inline-suppr