build: use mypy<1.11.0 until #682 is fixed (#683)
* build: use mypy<1.11.0 until #682 is fixed
* add comment
diff --git a/noxfile.py b/noxfile.py
index 1e6a570..a15795e 100644
--- a/noxfile.py
+++ b/noxfile.py
@@ -247,7 +247,9 @@
@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",