Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -177,9 +177,7 @@ async def _async_setup_component(
|
||||
|
||||
try:
|
||||
if hasattr(component, "async_setup"):
|
||||
task = component.async_setup( # type: ignore
|
||||
hass, processed_config
|
||||
)
|
||||
task = component.async_setup(hass, processed_config) # type: ignore
|
||||
elif hasattr(component, "setup"):
|
||||
# This should not be replaced with hass.async_add_executor_job because
|
||||
# we don't want to track this task in case it blocks startup.
|
||||
|
||||
Reference in new issue
Block a user