Disable no-self-use [pylint] (#70641)

* Disable no-self-use

* Remove disable comments
This commit is contained in:
Marc Mueller 2022-04-25 16:41:01 +02:00 committed by GitHub
parent 9dcbc8469e
commit 9b9b553521
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 14 additions and 64 deletions

View file

@ -602,7 +602,6 @@ 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)