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

+1
View File
@@ -45,6 +45,7 @@ from homeassistant.components.light import (
# mypy: allow-incomplete-defs, allow-untyped-calls, allow-untyped-defs
# mypy: no-check-untyped-defs
_LOGGER = logging.getLogger(__name__)