Exclude tests/benchmarks/ from clang-tidy file discovery

This commit is contained in:
J. Nick Koston
2026-03-17 08:44:56 -10:00
parent 4003406f8b
commit 81788951da
+3
View File
@@ -231,6 +231,9 @@ def main():
cwd = os.getcwd()
files = [os.path.relpath(path, cwd) for path in git_ls_files(["*.cpp"])]
# Exclude benchmark files — they require google benchmark headers not
# available in the ESP32 toolchain and use different naming conventions.
files = [f for f in files if not f.startswith("tests/benchmarks/")]
# Print initial file count if it's large
if len(files) > 50: