Move disallow-any-generics to mypy.ini (#63917)

This commit is contained in:
Marc Mueller
2022-01-11 22:33:25 +01:00
committed by GitHub
parent f4aa18de31
commit 240c9979c7
24 changed files with 73 additions and 44 deletions

View File

@@ -34,8 +34,6 @@ from .util.async_ import gather_with_concurrency
if TYPE_CHECKING:
from .core import HomeAssistant
# mypy: disallow-any-generics
CALLABLE_T = TypeVar( # pylint: disable=invalid-name
"CALLABLE_T", bound=Callable[..., Any]
)