We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef62df4 commit 990f5a9Copy full SHA for 990f5a9
packages/google-cloud-ndb/noxfile.py
@@ -453,10 +453,20 @@ def core_deps_from_source(session):
453
@nox.session(python=DEFAULT_INTERPRETER)
454
def mypy(session):
455
"""Run the type checker."""
456
-
457
- # TODO(https://github.com/googleapis/google-cloud-python/issues/16014):
458
- # Enable mypy once this bug is fixed.
459
- session.skip("Temporarily skip mypy. See issue 16014")
+ session.install(
+ "mypy<1.16.0",
+ "types-requests",
+ "types-protobuf",
460
+ )
461
+ session.install("-e", ".")
462
+ session.run(
463
+ "mypy",
464
+ "-p",
465
+ "google.cloud.ndb",
466
+ "--check-untyped-defs",
467
+ "--ignore-missing-imports",
468
+ *session.posargs,
469
470
471
472
0 commit comments