Skip to content

Commit

Permalink
chore: preserve noxfile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Nov 17, 2021
1 parent a7273b9 commit afe1793
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,16 @@ def pytype(session):
def mypy(session):
"""Verify type hints are mypy compatible."""
session.install("-e", ".")
session.install("mypy", "types-setuptools")
# TODO: also verify types on tests, all of google package
session.run("mypy", "-p", "google.cloud.firestore", "--no-incremental")
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/")
@nox.session(python=DEFAULT_PYTHON_VERSION)
Expand Down

0 comments on commit afe1793

Please sign in to comment.