Remove str from media player device class (#83398)
* Remove str from media player device class * Adjust pylint plugin
This commit is contained in:
@@ -1649,7 +1649,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
||||
matches=[
|
||||
TypeHintMatch(
|
||||
function_name="device_class",
|
||||
return_type=["MediaPlayerDeviceClass", "str", None],
|
||||
return_type=["MediaPlayerDeviceClass", None],
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="state",
|
||||
|
||||
Reference in New Issue
Block a user