diff --git a/noxfile.py b/noxfile.py index 5b91b8d7d7..b388f2797b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -85,12 +85,9 @@ def pytype(session): def mypy(session): """Verify type hints are mypy compatible.""" session.install("-e", ".") - session.install( - "mypy", "types-setuptools", "types-protobuf", "types-dataclasses", "types-mock", - ) - # Note: getenerated tests (in 'tests/unit/gapic') are not yet - # mypy-safe - session.run("mypy", "google/", "tests/unit/v1/", "tests/system/") + session.install("mypy", "types-setuptools") + # TODO: also verify types on tests, all of google package + session.run("mypy", "-p", "google.cloud.firestore", "--no-incremental") @nox.session(python=DEFAULT_PYTHON_VERSION)