Move disallow-any-generics
to mypy.ini (#63917)
This commit is contained in:
parent
f4aa18de31
commit
240c9979c7
24 changed files with 73 additions and 44 deletions
|
@ -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]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue