Update pylint to 2.11.1 (#56364)

This commit is contained in:
Marc Mueller 2021-09-18 13:52:59 +02:00 committed by GitHub
parent 476d04e2fb
commit 48bada5a18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 77 additions and 43 deletions

View file

@ -488,6 +488,7 @@ class HomeAssistant:
async def _await_and_log_pending(self, pending: Iterable[Awaitable[Any]]) -> None:
"""Await and log tasks that take a long time."""
# pylint: disable=no-self-use
wait_time = 0
while pending:
_, pending = await asyncio.wait(pending, timeout=BLOCK_LOG_TIMEOUT)