1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add type ignore error codes [core] (#66773)

This commit is contained in:
Marc Mueller
2022-02-18 08:09:22 +01:00
committed by GitHub
parent 58551ec66d
commit 8d2fb72cc3
8 changed files with 18 additions and 18 deletions

View File

@@ -1213,7 +1213,7 @@ class ConfigFlow(data_entry_flow.FlowHandler):
match_dict = {} # Match any entry
for entry in self._async_current_entries(include_ignore=False):
if all(
item in ChainMap(entry.options, entry.data).items() # type: ignore
item in ChainMap(entry.options, entry.data).items() # type: ignore[arg-type]
for item in match_dict.items()
):
raise data_entry_flow.AbortFlow("already_configured")