Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions pylint/plugins/hass_enforce_type_hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,19 @@ class ClassTypeHintMatch:
],
),
],
"repairs": [
ClassTypeHintMatch(
Comment thread
iluvdata marked this conversation as resolved.
base_class="RepairsFlow",
matches=[
TypeHintMatch(
function_name="async_step_*",
arg_types={},
return_type="RepairsFlowResult",
mandatory=True,
),
],
),
Comment thread
iluvdata marked this conversation as resolved.
],
}
# Overriding properties and functions are normally checked by mypy, and will only
# be checked by pylint when --ignore-missing-annotations is False
Expand Down
Loading