Various type hint improvements (#37952)

This commit is contained in:
Ville Skyttä authored and GitHub committed 2020-07-22 08:06:37 -07:00
1 parent 3e2555e2c1
commit aa1c5fc43d
9 files changed
+30 -27

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
"""Helper to gather system info."""
import os
import platform
from typing import Dict
from typing import Any, Dict
from homeassistant.const import __version__ as current_version
from homeassistant.loader import bind_hass
@@ -11,7 +11,7 @@ from .typing import HomeAssistantType
@bind_hass
async def async_get_system_info(hass: HomeAssistantType) -> Dict:
async def async_get_system_info(hass: HomeAssistantType) -> Dict[str, Any]:
"""Return info about the system."""
info_object = {
"installation_type": "Unknown",