From 87e448593d723b8239244a198e54e6cb056d3f95 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 30 May 2025 16:35:39 +0200 Subject: [PATCH] chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v1.16.0 (#503) * chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v1.16.0 * fix typing Signed-off-by: gruebel --------- Signed-off-by: gruebel Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: gruebel --- .pre-commit-config.yaml | 2 +- openfeature/immutable_dict/mapping_proxy_type.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 088e150..cd9062e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: check-merge-conflict - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.15.0 + rev: v1.16.0 hooks: - id: mypy files: openfeature diff --git a/openfeature/immutable_dict/mapping_proxy_type.py b/openfeature/immutable_dict/mapping_proxy_type.py index 634dd9b..bb0e570 100644 --- a/openfeature/immutable_dict/mapping_proxy_type.py +++ b/openfeature/immutable_dict/mapping_proxy_type.py @@ -26,7 +26,7 @@ class MappingProxyType(dict): __setitem__ = _immutable __delitem__ = _immutable clear = _immutable - update = _immutable # type:ignore[assignment] - setdefault = _immutable # type:ignore[assignment] - pop = _immutable # type:ignore[assignment] + update = _immutable + setdefault = _immutable + pop = _immutable popitem = _immutable