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

Update mypy to 1.2.0 (#90947)

* Update mypy to 1.2.0

* Add type ignore
This commit is contained in:
Marc Mueller
2023-04-06 18:51:16 +02:00
committed by GitHub
parent 385630f9b4
commit b2bcdf7c19
2 changed files with 2 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ class AreaRegistry:
if not new_values:
return old
new = self.areas[area_id] = attr.evolve(old, **new_values)
new = self.areas[area_id] = attr.evolve(old, **new_values) # type: ignore[arg-type]
if normalized_name is not None:
self._normalized_name_area_idx[
normalized_name