Remove search from mypy ignore list (#64507)

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-01-20 09:24:48 +01:00 committed by GitHub
parent 6e4f01b2cf
commit 3ab9dc9b0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View File

@ -81,8 +81,8 @@ class Searcher:
self._device_reg = device_reg
self._entity_reg = entity_reg
self._sources = entity_sources
self.results = defaultdict(set)
self._to_resolve = deque()
self.results: defaultdict[str, set[str]] = defaultdict(set)
self._to_resolve: deque[tuple[str, str]] = deque()
@callback
def async_search(self, item_type, item_id):

View File

@ -2179,9 +2179,6 @@ ignore_errors = true
[mypy-homeassistant.components.ring.*]
ignore_errors = true
[mypy-homeassistant.components.search.*]
ignore_errors = true
[mypy-homeassistant.components.sense.*]
ignore_errors = true

View File

@ -68,7 +68,6 @@ IGNORED_MODULES: Final[list[str]] = [
"homeassistant.components.point.*",
"homeassistant.components.profiler.*",
"homeassistant.components.ring.*",
"homeassistant.components.search.*",
"homeassistant.components.sense.*",
"homeassistant.components.sharkiq.*",
"homeassistant.components.smartthings.*",