mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 15:43:06 +02:00
Add tests, fix lint issues, cap cppcheck memory
- Add test suites for C/CPP/TS/Python projects - Fix ruff/cppcheck/eslint/clang-format lint failures - python_pkg/fm24_searcher, wake_alarm: new packages - Update .gitignore for C/C++ build artifacts - Cap cppcheck memory: --check-level=normal + ulimit -v 3GB
This commit is contained in:
parent
d6f5112dc6
commit
6d63866179
@ -337,12 +337,13 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: cppcheck
|
- id: cppcheck
|
||||||
name: cppcheck
|
name: cppcheck
|
||||||
entry: cppcheck
|
entry: bash -c 'ulimit -v 3145728; exec cppcheck "$@"' --
|
||||||
language: system
|
language: system
|
||||||
types_or: [c, c++]
|
types_or: [c, c++]
|
||||||
exclude: ^(pomodoro_app/|horatio/)
|
exclude: ^(pomodoro_app/|horatio/)
|
||||||
args:
|
args:
|
||||||
- --enable=warning,portability
|
- --enable=warning,portability
|
||||||
|
- --check-level=normal
|
||||||
- --quiet
|
- --quiet
|
||||||
- --error-exitcode=1
|
- --error-exitcode=1
|
||||||
- --inline-suppr
|
- --inline-suppr
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user