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:
Ville Skyttä authored and Paulus Schoutsen committed 2019-10-19 11:35:57 -07:00
1 parent 758fcc9b00
commit 381d423fec
17 files changed
+25 -21

No files matched your search

@@ -10,7 +10,7 @@ from .const import (
)
# mypy: allow-untyped-calls, allow-untyped-defs
# mypy: allow-untyped-calls, allow-untyped-defs, no-check-untyped-defs
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):