Skip to content

Commit

Permalink
fix: mypy 0.800 update errors (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
yon-mg committed Jan 28, 2021
1 parent bcd3f54 commit 608275a
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
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
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 608275a

Please sign in to comment.