Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 9b182cf

Browse files
committed
pin mypy
1 parent 14c56f9 commit 9b182cf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gapic/templates/noxfile.py.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ nox.options.error_on_missing_interpreters = True
8282
def mypy(session):
8383
"""Run the type checker."""
8484
session.install(
85-
"mypy",
85+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2410): Use the latest version of mypy
86+
"mypy<1.16.0",
8687
"types-requests",
8788
"types-protobuf",
8889
)

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,8 @@ def showcase_mypy(
589589
"""Perform typecheck analysis on the generated Showcase library."""
590590

591591
session.install(
592-
"mypy",
592+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2410): Use the latest version of mypy
593+
"mypy<1.16.0",
593594
"types-setuptools",
594595
"types-protobuf",
595596
"types-requests",

0 commit comments

Comments
 (0)