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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

View File

@ -12,7 +12,7 @@ codecov==2.1.12
coverage==7.2.1
freezegun==1.2.2
mock-open==1.4.0
mypy==1.1.1
mypy==1.2.0
pre-commit==3.1.0
pydantic==1.10.7
pylint==2.17.0