This repository was archived by the owner on Mar 26, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ nox.options.error_on_missing_interpreters = True
8282def 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 )
Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments