From cc509d18e08b7c03a6088fcbbfbbfc0040ac57ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Apr 2023 14:27:19 +0000 Subject: [PATCH] Bump mypy from 0.971 to 1.2.0 (#841) * Bump mypy from 0.971 to 1.2.0 Bumps [mypy](https://github.com/python/mypy) from 0.971 to 1.2.0. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.971...v1.2.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: update ignore category for newer mypy versions --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martijn Pieters --- requirements/lint.txt | 2 +- yarl/_quoting.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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]