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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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]
)