Adjust get_scanner pylint checks (#77944)
This commit is contained in:
parent
9fa30af8de
commit
f71313ee1e
28 changed files with 50 additions and 30 deletions
|
@ -327,7 +327,8 @@ _FUNCTION_MATCH: dict[str, list[TypeHintMatch]] = {
|
|||
0: "HomeAssistant",
|
||||
1: "ConfigType",
|
||||
},
|
||||
return_type=["DeviceScanner", "DeviceScanner | None"],
|
||||
return_type=["DeviceScanner", None],
|
||||
check_return_type_inheritance=True,
|
||||
has_async_counterpart=True,
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue