1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Update black to 23.1.0 (#87188)

This commit is contained in:
Franck Nijhof
2023-02-02 18:35:24 +01:00
committed by GitHub
parent f7666239ff
commit 5e81d28116
312 changed files with 299 additions and 475 deletions

View File

@@ -210,9 +210,9 @@ class EntityPlatform:
return
@callback
def async_create_setup_task() -> Coroutine[
Any, Any, None
] | asyncio.Future[None]:
def async_create_setup_task() -> (
Coroutine[Any, Any, None] | asyncio.Future[None]
):
"""Get task to set up platform."""
if getattr(platform, "async_setup_platform", None):
return platform.async_setup_platform( # type: ignore[union-attr]