We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3e158f commit 2a030e7Copy full SHA for 2a030e7
1 file changed
packages/google-auth-oauthlib/noxfile.py
@@ -496,3 +496,20 @@ def prerelease_deps(session, protobuf_implementation):
496
"PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION": protobuf_implementation,
497
},
498
)
499
+
500
501
+@nox.session(python=DEFAULT_PYTHON_VERSION)
502
+def mypy(session):
503
+ """Run the type checker."""
504
+ session.install(
505
+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2410): Use the latest version of mypy
506
+ "mypy<1.16.0",
507
+ "types-requests-oauthlib",
508
+ "types-click",
509
+ )
510
+ session.install(".")
511
+ session.run(
512
+ "mypy",
513
+ "-p",
514
+ "google_auth_oauthlib",
515
0 commit comments