mirror of
https://github.com/esphome/esphome.git
synced 2025-08-05 09:57:47 +00:00
fixes
This commit is contained in:
parent
96f0fda477
commit
05253991c2
@ -118,9 +118,9 @@ class ComponentManifest:
|
||||
filter_source_files_func = getattr(self.module, "FILTER_SOURCE_FILES", None)
|
||||
|
||||
# Get list of files to exclude
|
||||
excluded_files: set[str] = set()
|
||||
if filter_source_files_func is not None:
|
||||
excluded_files = set(filter_source_files_func())
|
||||
excluded_files = (
|
||||
set(filter_source_files_func()) if filter_source_files_func else set()
|
||||
)
|
||||
|
||||
# Process all resources
|
||||
for resource in (
|
||||
|
Loading…
x
Reference in New Issue
Block a user