diff --git a/ci-constraints-requirements.txt b/ci-constraints-requirements.txt index 2a75e28e49f6..d9854d30a16c 100644 --- a/ci-constraints-requirements.txt +++ b/ci-constraints-requirements.txt @@ -100,7 +100,7 @@ markupsafe==3.0.3 # via jinja2 mypy==1.19.1 ; python_full_version < '3.10' # via cryptography (pyproject.toml:dev) -mypy==2.1.0 ; python_full_version >= '3.10' +mypy==2.2.0 ; python_full_version >= '3.10' # via cryptography (pyproject.toml:dev) mypy-extensions==1.1.0 # via mypy diff --git a/tests/hazmat/asn1/test_api.py b/tests/hazmat/asn1/test_api.py index 46023518c83e..95411ded7658 100644 --- a/tests/hazmat/asn1/test_api.py +++ b/tests/hazmat/asn1/test_api.py @@ -256,7 +256,7 @@ class Example: TypeError, match="takes 1 positional argument but 2 were given", ): - Example(5) # type: ignore[misc] + Example(5) # type: ignore[call-arg] def test_fail_malformed_root_type(self) -> None: @asn1.sequence @@ -571,7 +571,7 @@ class Example: TypeError, match="takes 1 positional argument but 2 were given", ): - Example(5) # type: ignore[misc] + Example(5) # type: ignore[call-arg] def test_fail_malformed_root_type(self) -> None: @asn1.set diff --git a/tests/hazmat/primitives/test_kbkdf.py b/tests/hazmat/primitives/test_kbkdf.py index b9561a7ec778..992f0fd7e744 100644 --- a/tests/hazmat/primitives/test_kbkdf.py +++ b/tests/hazmat/primitives/test_kbkdf.py @@ -347,7 +347,7 @@ def test_keyword_only_break_location(self, backend): b"context", None, backend, - 0, # type: ignore[misc] + 0, # type: ignore[call-arg] ) def test_invalid_break_location(self): @@ -771,7 +771,7 @@ def test_keyword_only_break_location(self, backend): b"context", None, backend, - 0, # type: ignore[misc] + 0, # type: ignore[call-arg] ) def test_invalid_break_location(self):