Skip to content

Commit

Permalink
Bump mypy from 0.971 to 1.2.0 (#841)
Browse files Browse the repository at this point in the history
* 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](python/mypy@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] <support@github.com>

* chore: update ignore category for newer mypy versions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martijn Pieters <mj@zopatista.com>
  • Loading branch information
dependabot[bot] and mjpieters committed Apr 19, 2023
1 parent ff38638 commit cc509d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
@@ -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"
6 changes: 3 additions & 3 deletions yarl/_quoting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit cc509d1

Please sign in to comment.