pre-commit 门禁:抑制 cppcheck 分支限制信息提示(修复门禁误报)

This commit is contained in:
2026-09-20 00:36:32 +08:00
parent 65b8fb05d5
commit c3f7e52ea3
+1
View File
@@ -51,6 +51,7 @@ repos:
'--suppress=noExplicitConstructor', '--suppress=useStlAlgorithm',
'--suppress=constParameterPointer', '--suppress=constParameterCallback',
'--suppress=redundantAssignment',
'--suppress=normalCheckLevelMaxBranches',
'-I', 'Inc', '-I', 'App', '-I', 'Drivers/BSP',
'-I', 'Drivers/STM32F4xx_HAL_Driver/Inc', '-I', 'Drivers/CMSIS/Include',
'-I', 'Middlewares/Third_Party/FreeRTOS/Source/include']