Upgrade mypy to 0.770, tighten config a bit (#32715)

* Upgrade mypy to 0.770, related cleanups

https://mypy-lang.blogspot.com/2020/03/mypy-0770-released.html

* Clean up config and make it a notch stricter, address findings
This commit is contained in:
Ville Skyttä
2020-03-12 12:52:20 +02:00
committed by GitHub
parent 77ebda0c20
commit 221d5205e4
14 changed files with 29 additions and 37 deletions

View File

@@ -32,7 +32,7 @@ class RequirementsNotFound(HomeAssistantError):
async def async_get_integration_with_requirements(
hass: HomeAssistant, domain: str, done: Set[str] = None
hass: HomeAssistant, domain: str, done: Optional[Set[str]] = None
) -> Integration:
"""Get an integration with all requirements installed, including the dependencies.