mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[CI] Allow clang-tidy to see IDF components (#6903)
* Allow clang-tidy to see IDF components * Remove camera, add tflite-micro
This commit is contained in:
		| @@ -101,8 +101,10 @@ def clang_options(idedata): | ||||
|     # add library include directories using -isystem to suppress their errors | ||||
|     for directory in sorted(set(idedata["includes"]["build"])): | ||||
|         # skip our own directories, we add those later | ||||
|         if not directory.startswith(f"{root_path}/") or directory.startswith( | ||||
|             f"{root_path}/.pio/" | ||||
|         if ( | ||||
|             not directory.startswith(f"{root_path}/") | ||||
|             or directory.startswith(f"{root_path}/.pio/") | ||||
|             or directory.startswith(f"{root_path}/managed_components/") | ||||
|         ): | ||||
|             cmd.extend(["-isystem", directory]) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user