mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 04:20:17 +00:00
Upgrade black to 20.8b1 (#39287)
This commit is contained in:
@@ -255,7 +255,10 @@ class _ZoneTaskContext:
|
||||
"""Context manager that tracks an active task for a zone."""
|
||||
|
||||
def __init__(
|
||||
self, zone: _ZoneTimeoutManager, task: asyncio.Task[Any], timeout: float,
|
||||
self,
|
||||
zone: _ZoneTimeoutManager,
|
||||
task: asyncio.Task[Any],
|
||||
timeout: float,
|
||||
) -> None:
|
||||
"""Initialize internal timeout context manager."""
|
||||
self._loop: asyncio.AbstractEventLoop = asyncio.get_running_loop()
|
||||
|
||||
Reference in New Issue
Block a user