do not analyze platformio files

This commit is contained in:
J. Nick Koston 2025-07-14 08:13:45 -10:00
parent f76cba0af6
commit 55a7926670
No known key found for this signature in database

View File

@ -152,6 +152,8 @@ def run_tidy(executable, args, options, tmpdir, path_queue, lock, failed_files):
if sys.stdout.isatty():
invocation.append("--use-color")
# Exclude PlatformIO files from analysis since we can't fix issues in external code
# and they often generate false positives
invocation.append(
f"--header-filter=^{os.path.abspath(basepath)}/(?!.*\\.platformio/).*"
)