Add check_untyped_defs (#15510)
* Add check_untyped_defs * Change to regular if-else
This commit is contained in:
1 parent
7d7c2104ea
commit
24d2261060
15 files changed
+70
-44
No files matched your search
@@ -1,7 +1,7 @@
|
||||
"""Classes to help gather user submissions."""
|
||||
import logging
|
||||
import uuid
|
||||
|
||||
from typing import Dict, Any # noqa pylint: disable=unused-import
|
||||
from .core import callback
|
||||
from .exceptions import HomeAssistantError
|
||||
|
||||
@@ -38,7 +38,7 @@ class FlowManager:
|
||||
def __init__(self, hass, async_create_flow, async_finish_flow):
|
||||
"""Initialize the flow manager."""
|
||||
self.hass = hass
|
||||
self._progress = {}
|
||||
self._progress = {} # type: Dict[str, Any]
|
||||
self._async_create_flow = async_create_flow
|
||||
self._async_finish_flow = async_finish_flow
|
||||
|
||||
|
||||
Reference in new issue
Block a user