diff --git a/packages/google-cloud-access-context-manager/noxfile.py b/packages/google-cloud-access-context-manager/noxfile.py index e6b927e1aa52..ed9f00a9c902 100644 --- a/packages/google-cloud-access-context-manager/noxfile.py +++ b/packages/google-cloud-access-context-manager/noxfile.py @@ -142,6 +142,15 @@ def format(session): ) +@nox.session(python=DEFAULT_PYTHON_VERSION) +def mypy(session): + """Run the type checker.""" + + # TODO(https://github.com/googleapis/google-cloud-python/issues/13362): + # Enable mypy once this bug is fixed. + session.skip("Skip mypy since this library doesn't have py.typed") + + @nox.session(python=DEFAULT_PYTHON_VERSION) def lint_setup_py(session): """Verify that setup.py is valid (including RST check).""" diff --git a/packages/google-cloud-audit-log/noxfile.py b/packages/google-cloud-audit-log/noxfile.py index 9f03d459551c..fb626e845cd3 100644 --- a/packages/google-cloud-audit-log/noxfile.py +++ b/packages/google-cloud-audit-log/noxfile.py @@ -142,6 +142,15 @@ def format(session): ) +@nox.session(python=DEFAULT_PYTHON_VERSION) +def mypy(session): + """Run the type checker.""" + + # TODO(https://github.com/googleapis/google-cloud-python/issues/13362): + # Enable mypy once this bug is fixed. + session.skip("Skip mypy since this library doesn't have py.typed") + + @nox.session(python=DEFAULT_PYTHON_VERSION) def lint_setup_py(session): """Verify that setup.py is valid (including RST check).""" diff --git a/packages/googleapis-common-protos/noxfile.py b/packages/googleapis-common-protos/noxfile.py index e6b927e1aa52..ed9f00a9c902 100644 --- a/packages/googleapis-common-protos/noxfile.py +++ b/packages/googleapis-common-protos/noxfile.py @@ -142,6 +142,15 @@ def format(session): ) +@nox.session(python=DEFAULT_PYTHON_VERSION) +def mypy(session): + """Run the type checker.""" + + # TODO(https://github.com/googleapis/google-cloud-python/issues/13362): + # Enable mypy once this bug is fixed. + session.skip("Skip mypy since this library doesn't have py.typed") + + @nox.session(python=DEFAULT_PYTHON_VERSION) def lint_setup_py(session): """Verify that setup.py is valid (including RST check).""" diff --git a/packages/grpc-google-iam-v1/noxfile.py b/packages/grpc-google-iam-v1/noxfile.py index 39c5fc72f7e8..a1a14bc2095a 100644 --- a/packages/grpc-google-iam-v1/noxfile.py +++ b/packages/grpc-google-iam-v1/noxfile.py @@ -142,6 +142,15 @@ def format(session): ) +@nox.session(python=DEFAULT_PYTHON_VERSION) +def mypy(session): + """Run the type checker.""" + + # TODO(https://github.com/googleapis/google-cloud-python/issues/13362): + # Enable mypy once this bug is fixed. + session.skip("Skip mypy since this library doesn't have py.typed") + + @nox.session(python=DEFAULT_PYTHON_VERSION) def lint_setup_py(session): """Verify that setup.py is valid (including RST check)."""