From 0bc1b841aaa0f1953cbce5aeaaaffd60a0494fd2 Mon Sep 17 00:00:00 2001 From: Hugo McNally Date: Wed, 20 Nov 2024 17:17:12 +0000 Subject: [PATCH] lints: Removed v0.2 versions of the sonata drivers There are name collisions between the old v0.2 versions of the of sonata system drivers and the new v1.0 versions. These cause clang-tidy lints to fail. The v0.2 drivers are frozen; they should not change before being depreciated and removed from the repository. It is therefore safe to remove them from the lints. --- scripts/run_clang_tidy_format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_clang_tidy_format.sh b/scripts/run_clang_tidy_format.sh index aecda51a..56958765 100755 --- a/scripts/run_clang_tidy_format.sh +++ b/scripts/run_clang_tidy_format.sh @@ -35,7 +35,7 @@ DIRECTORIES="sdk tests examples" # FreeRTOS-Compat headers follow FreeRTOS naming conventions and should be # excluded for now. Eventually they should be included for everything except # the identifier naming checks. -HEADERS=$(find ${DIRECTORIES} -name '*.h' -or -name '*.hh' | grep -v libc++ | grep -v third_party | grep -v 'std.*.h' | grep -v errno.h | grep -v strings.h | grep -v string.h | grep -v -assembly.h | grep -v cdefs.h | grep -v /riscv.h | grep -v inttypes.h | grep -v /cheri-builtins.h | grep -v c++-config | grep -v ctype.h | grep -v switcher.h | grep -v assert.h | grep -v std*.h | grep -v setjmp.h | grep -v unwind.h | grep -v /build/ | grep -v microvium | grep -v FreeRTOS-Compat) +HEADERS=$(find ${DIRECTORIES} -name '*.h' -or -name '*.hh' | grep -v libc++ | grep -v third_party | grep -v 'std.*.h' | grep -v errno.h | grep -v strings.h | grep -v string.h | grep -v -assembly.h | grep -v cdefs.h | grep -v /riscv.h | grep -v inttypes.h | grep -v /cheri-builtins.h | grep -v c++-config | grep -v ctype.h | grep -v switcher.h | grep -v assert.h | grep -v std*.h | grep -v setjmp.h | grep -v unwind.h | grep -v /build/ | grep -v microvium | grep -v FreeRTOS-Compat | grep -v sunburst/v0.2) SOURCES=$(find ${DIRECTORIES} -name '*.cc' | grep -v /build/ | grep -v third_party | grep -v arith64.c) echo Headers: ${HEADERS}