From c5f3220569de6bd2a9eec418aa404ecd4cb37f92 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 24 Mar 2023 17:23:09 +0100 Subject: [PATCH] Enable clangtidy checking --- modules/control/Firmware/platformio.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/control/Firmware/platformio.ini b/modules/control/Firmware/platformio.ini index e11936a..a810fe6 100644 --- a/modules/control/Firmware/platformio.ini +++ b/modules/control/Firmware/platformio.ini @@ -15,4 +15,7 @@ framework = arduino board_build.partitions = huge_app.csv lib_deps = etlcpp/Embedded Template Library@^20.35.12 monitor_speed=115200 -build_flags=-Wall \ No newline at end of file +build_flags=-Wall +check_tool = clangtidy +check_flags = + clangtidy: --checks=-*,clang-diagnostic-*,-clang-diagnostic-unused-value,clang-analyzer-*,-*,bugprone-*,performance-*,readability-*,-readability-magic-numbers,-readability-braces-around-statements,-readability-inconsistent-declaration-parameter-name,-readability-named-parameter --fix