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:
1 parent
20301ae888
commit
56841da2d3
14 files changed
+34
-24
No files matched your search
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user