Skip to content

Commit

Permalink
fix: mypy 0.800 update errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yon-mg committed Jan 28, 2021
1 parent bcd3f54 commit 9c41214
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Empty file.
1 change: 1 addition & 0 deletions gapic/templates/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def mypy(session):
session.install('.')
session.run(
'mypy',
'--explicit-package-bases',
{%- if api.naming.module_namespace %}
'{{ api.naming.module_namespace[0] }}',
{%- else %}
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def showcase_mypy(
session.chdir(lib)

# Run the tests.
session.run("mypy", "google")
session.run("mypy", "--explicit-package-bases", "google")


@nox.session(python="3.8")
Expand Down

0 comments on commit 9c41214

Please sign in to comment.