Disable pylint invalid name for TypeVar T (#34355)

This commit is contained in:
Martin Hjelmare 2020-04-17 21:51:31 +02:00 committed by GitHub
parent 591845ce23
commit 3aa2de5fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ from typing import Any, Callable, Coroutine, TypeVar
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
T = TypeVar("T") T = TypeVar("T") # pylint: disable=invalid-name
def fire_coroutine_threadsafe(coro: Coroutine, loop: AbstractEventLoop) -> None: def fire_coroutine_threadsafe(coro: Coroutine, loop: AbstractEventLoop) -> None: