diff --git a/requirements/lint.txt b/requirements/lint.txt index 2ee3b91e0..9f7d74eab 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -1,2 +1,2 @@ -mypy==0.971; implementation_name=="cpython" +mypy==1.2.0; implementation_name=="cpython" pre-commit==3.2.2; python_version>="3.8" diff --git a/yarl/_quoting.py b/yarl/_quoting.py index 46e100a9e..8d1c705ff 100644 --- a/yarl/_quoting.py +++ b/yarl/_quoting.py @@ -11,8 +11,8 @@ if not NO_EXTENSIONS: # pragma: no branch try: - from ._quoting_c import _Quoter, _Unquoter # type: ignore[misc] + from ._quoting_c import _Quoter, _Unquoter # type: ignore[assignment] except ImportError: # pragma: no cover - from ._quoting_py import _Quoter, _Unquoter # type: ignore[misc] + from ._quoting_py import _Quoter, _Unquoter # type: ignore[assignment] else: - from ._quoting_py import _Quoter, _Unquoter # type: ignore[misc] + from ._quoting_py import _Quoter, _Unquoter # type: ignore[assignment]