1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-20 12:12:24 +01:00
This commit is contained in:
J. Nick Koston
2025-07-06 13:42:44 -05:00
parent 96f0fda477
commit 05253991c2

View File

@@ -118,9 +118,9 @@ class ComponentManifest:
filter_source_files_func = getattr(self.module, "FILTER_SOURCE_FILES", None) filter_source_files_func = getattr(self.module, "FILTER_SOURCE_FILES", None)
# Get list of files to exclude # Get list of files to exclude
excluded_files: set[str] = set() excluded_files = (
if filter_source_files_func is not None: set(filter_source_files_func()) if filter_source_files_func else set()
excluded_files = set(filter_source_files_func()) )
# Process all resources # Process all resources
for resource in ( for resource in (