Skip to content

Commit

Permalink
build: use mypy<1.11.0 until #682 is fixed (#683)
Browse files Browse the repository at this point in the history
* build: use mypy<1.11.0 until #682 is fixed

* add comment
  • Loading branch information
parthea authored Aug 1, 2024
1 parent 3c5e034 commit 6d1b96b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,9 @@ def pytype(session):
@nox.session(python=DEFAULT_PYTHON_VERSION)
def mypy(session):
"""Run type-checking."""
session.install(".[grpc]", "mypy")
# TODO(https://github.com/googleapis/python-api-core/issues/682):
# Use the latest version of mypy instead of mypy<1.11.0
session.install(".[grpc]", "mypy<1.11.0")
session.install(
"types-setuptools",
"types-requests",
Expand Down

0 comments on commit 6d1b96b

Please sign in to comment.