Skip to content

Commit 0ee8d50

Browse files
committed
fix build
1 parent 1848098 commit 0ee8d50

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

packages/google-cloud-runtimeconfig/noxfile.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,21 @@ def lint(session):
9090
)
9191
session.run("flake8", "google", "tests")
9292

93+
@nox.session(python=UNIT_TEST_PYTHON_VERSIONS)
94+
def mypy(session):
95+
"""Run the type checker."""
96+
session.install(
97+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2410): Use the latest version of mypy
98+
"mypy<1.16.0",
99+
"types-requests",
100+
)
101+
session.install(".")
102+
session.run(
103+
"mypy",
104+
"-p",
105+
"google",
106+
)
107+
93108

94109
@nox.session(python=DEFAULT_PYTHON_VERSION)
95110
def blacken(session):

0 commit comments

Comments
 (0)