Upgrade mypy to 0.720, turn on unreachability warnings (#25157)

* Upgrade mypy to 0.720

* Turn on mypy unreachability warnings, address raised issues
This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2019-07-16 15:11:38 -07:00
1 parent 20301ae888
commit 56841da2d3
14 files changed
+34 -24

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ class FlowHandler:
hass = None
handler = None
cur_step = None
context = None
context = None # type: Optional[Dict]
# Set by _async_create_flow callback
init_step = 'init'