Upgrade mypy to 0.740 (#27913)
* Upgrade mypy to 0.740 http://mypy-lang.blogspot.com/2019/10/mypy-0740-released.html * Type hint additions * Type fixes * Remove no longer needed type ignores and casts * Disable untyped definition checks in bunch of files
This commit is contained in:
1 parent
758fcc9b00
commit
381d423fec
17 files changed
+25
-21
No files matched your search
@@ -45,7 +45,7 @@ async def auth_manager_from_config(
|
||||
)
|
||||
)
|
||||
else:
|
||||
providers = ()
|
||||
providers = []
|
||||
# So returned auth providers are in same order as config
|
||||
provider_hash: _ProviderDict = OrderedDict()
|
||||
for provider in providers:
|
||||
@@ -57,7 +57,7 @@ async def auth_manager_from_config(
|
||||
*(auth_mfa_module_from_config(hass, config) for config in module_configs)
|
||||
)
|
||||
else:
|
||||
modules = ()
|
||||
modules = []
|
||||
# So returned auth modules are in same order as config
|
||||
module_hash: _MfaModuleDict = OrderedDict()
|
||||
for module in modules:
|
||||
|
||||
Reference in new issue
Block a user