Remove search from mypy ignore list (#64507)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
6e4f01b2cf
commit
3ab9dc9b0e
3 changed files with 2 additions and 6 deletions
|
@ -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):
|
||||
|
|
3
mypy.ini
3
mypy.ini
|
@ -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
|
||||
|
||||
|
|
|
@ -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.*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue