Add new method to pylint type-hint plugin (#72757)
Enforce type hints on remove_config_entry_device
This commit is contained in:
parent
133cb7ccef
commit
577be70da9
1 changed files with 9 additions and 0 deletions
|
@ -88,6 +88,15 @@ _FUNCTION_MATCH: dict[str, list[TypeHintMatch]] = {
|
||||||
},
|
},
|
||||||
return_type="bool",
|
return_type="bool",
|
||||||
),
|
),
|
||||||
|
TypeHintMatch(
|
||||||
|
function_name="async_remove_config_entry_device",
|
||||||
|
arg_types={
|
||||||
|
0: "HomeAssistant",
|
||||||
|
1: "ConfigEntry",
|
||||||
|
2: "DeviceEntry",
|
||||||
|
},
|
||||||
|
return_type="bool",
|
||||||
|
),
|
||||||
],
|
],
|
||||||
"__any_platform__": [
|
"__any_platform__": [
|
||||||
TypeHintMatch(
|
TypeHintMatch(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue