Add new method to pylint type-hint plugin (#72757)

Enforce type hints on remove_config_entry_device
This commit is contained in:
epenet 2022-06-01 08:38:48 +02:00 committed by GitHub
parent 133cb7ccef
commit 577be70da9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,15 @@ _FUNCTION_MATCH: dict[str, list[TypeHintMatch]] = {
},
return_type="bool",
),
TypeHintMatch(
function_name="async_remove_config_entry_device",
arg_types={
0: "HomeAssistant",
1: "ConfigEntry",
2: "DeviceEntry",
},
return_type="bool",
),
],
"__any_platform__": [
TypeHintMatch(