Skip to content

Commit dd9a4cb

Browse files
committed
build: use mypy<1.15.0 until #799 is fixed
1 parent 7fbd5fd commit dd9a4cb

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

0 commit comments

Comments
 (0)