We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1848098 commit 0ee8d50Copy full SHA for 0ee8d50
1 file changed
packages/google-cloud-runtimeconfig/noxfile.py
@@ -90,6 +90,21 @@ def lint(session):
90
)
91
session.run("flake8", "google", "tests")
92
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
+
108
109
@nox.session(python=DEFAULT_PYTHON_VERSION)
110
def blacken(session):
0 commit comments