From 28c1a5c09f7499c7b6b75d28831edde82d3b5a97 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 28 Jun 2022 10:52:41 +0200 Subject: [PATCH] Enforce config-flow type hints for reauth step (#72830) --- pylint/plugins/hass_enforce_type_hints.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pylint/plugins/hass_enforce_type_hints.py b/pylint/plugins/hass_enforce_type_hints.py index e1517ede1ff0..f3c7a01a10ff 100644 --- a/pylint/plugins/hass_enforce_type_hints.py +++ b/pylint/plugins/hass_enforce_type_hints.py @@ -421,6 +421,13 @@ _CLASS_MATCH: dict[str, list[ClassTypeHintMatch]] = { }, return_type="FlowResult", ), + TypeHintMatch( + function_name="async_step_reauth", + arg_types={ + 1: "Mapping[str, Any]", + }, + return_type="FlowResult", + ), TypeHintMatch( function_name="async_step_ssdp", arg_types={