diff --git a/script/clang-tidy b/script/clang-tidy index b5905e0e4e..934c454655 100755 --- a/script/clang-tidy +++ b/script/clang-tidy @@ -121,6 +121,8 @@ def clang_options(idedata): ) ) or (directory.startswith(f"{root_path}") and "/.pio/" in directory) + or "/.platformio/" + in directory # Also treat any .platformio directory as system ): cmd.extend(["-isystem", directory])