mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Upgrade mypy to 0.740 (#27913)
* Upgrade mypy to 0.740 http://mypy-lang.blogspot.com/2019/10/mypy-0740-released.html * Type hint additions * Type fixes * Remove no longer needed type ignores and casts * Disable untyped definition checks in bunch of files
This commit is contained in:
committed by
Paulus Schoutsen
parent
758fcc9b00
commit
381d423fec
@@ -3,7 +3,7 @@ from typing import Callable, Awaitable, Union
|
||||
from homeassistant import config_entries
|
||||
from .typing import HomeAssistantType
|
||||
|
||||
# mypy: allow-untyped-defs
|
||||
# mypy: allow-untyped-defs, no-check-untyped-defs
|
||||
|
||||
DiscoveryFunctionType = Callable[[], Union[Awaitable[bool], bool]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user