Skip to content

Commit 6d1b96b

Browse files
authored
build: use mypy<1.11.0 until #682 is fixed (#683)
* build: use mypy<1.11.0 until #682 is fixed * add comment
1 parent 3c5e034 commit 6d1b96b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ def pytype(session):
247247
@nox.session(python=DEFAULT_PYTHON_VERSION)
248248
def mypy(session):
249249
"""Run type-checking."""
250-
session.install(".[grpc]", "mypy")
250+
# TODO(https://github.com/googleapis/python-api-core/issues/682):
251+
# Use the latest version of mypy instead of mypy<1.11.0
252+
session.install(".[grpc]", "mypy<1.11.0")
251253
session.install(
252254
"types-setuptools",
253255
"types-requests",

0 commit comments

Comments
 (0)