1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Remove vizio from mypy ignore list (#73585)

* Remove vizio config_flow from mypy ignore list

* Fix mypy errors

* Adjust media_player

* Add space
This commit is contained in:
epenet
2022-06-19 21:39:24 +02:00
committed by GitHub
parent e7e9c65e44
commit a92105171c
5 changed files with 16 additions and 19 deletions

View File

@@ -758,7 +758,7 @@ def ensure_list_csv(value: Any) -> list:
class multi_select:
"""Multi select validator returning list of selected values."""
def __init__(self, options: dict) -> None:
def __init__(self, options: dict | list) -> None:
"""Initialize multi select."""
self.options = options