Skip to content

Commit 3be1064

Browse files
committed
build: use mypy<1.15.0 until #799 is fixed
1 parent 9e72533 commit 3be1064

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
@@ -274,7 +274,9 @@ def pytype(session):
274274
@nox.session(python=DEFAULT_PYTHON_VERSION)
275275
def mypy(session):
276276
"""Run type-checking."""
277-
session.install(".[grpc,async_rest]", "mypy")
277+
# TODO(https://github.com/googleapis/python-api-core/issues/799):
278+
# Remove mypy constraint. We should use the latest version of mypy.
279+
session.install(".[grpc,async_rest]", "mypy<1.15.0")
278280
session.install(
279281
"types-setuptools",
280282
"types-requests",

0 commit comments

Comments
 (0)