Skip to content

Commit

Permalink
test: install types-pkg-resources for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Jun 8, 2021
1 parent 00f16f9 commit 9f40f53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gapic/templates/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def cover(session):
@nox.session(python=['3.6', '3.7'])
def mypy(session):
"""Run the type checker."""
session.install('mypy')
session.install('mypy', 'types-pkg_resources')
session.install('.')
session.run(
'mypy',
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def showcase_mypy(
"""Perform typecheck analysis on the generated Showcase library."""

# Install pytest and gapic-generator-python
session.install("mypy")
session.install("mypy", "types-pkg-resources")

with showcase_library(session, templates=templates, other_opts=other_opts) as lib:
session.chdir(lib)
Expand Down

0 comments on commit 9f40f53

Please sign in to comment.