Type hint improvements (#31876)

* Complete components.remote type hints

* Define ConfigType only in helpers.typing
This commit is contained in:
Ville Skyttä authored and GitHub committed 2020-02-16 13:47:55 +01:00
1 parent e5e7c9fa25
commit 03f7fe483b
7 files changed
+22 -18

No files matched your search

+2 -2
View File
@@ -1,10 +1,10 @@
"""Helper methods for components within Home Assistant."""
import re
from typing import Any, Dict, Iterable, Sequence, Tuple
from typing import Any, Iterable, Sequence, Tuple
from homeassistant.const import CONF_PLATFORM
ConfigType = Dict[str, Any]
from .typing import ConfigType
def config_per_platform(config: ConfigType, domain: str) -> Iterable[Tuple[Any, Any]]: