Skip to content

Commit 8ddbf99

Browse files
committed
adds mypy session and sets to skip as unsupported
1 parent a2bde2e commit 8ddbf99

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

packages/db-dtypes/noxfile.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"3.13",
4545
"3.14",
4646
]
47-
ALL_PYTHON = UNIT_TEST_PYTHON_VERSIONS
47+
ALL_PYTHON = list(UNIT_TEST_PYTHON_VERSIONS)
4848
ALL_PYTHON.extend(["3.7"])
4949

5050
UNIT_TEST_STANDARD_DEPENDENCIES = [
@@ -585,6 +585,14 @@ def core_deps_from_source(session):
585585
"""Run all tests with core dependencies installed from source
586586
rather than pulling the dependencies from PyPI.
587587
"""
588-
# TODO(https://github.com/googleapis/google-cloud-python/issues/16013):
588+
# TODO(https://github.com/googleapis/google-cloud-python/issues/16014):
589589
# Add core deps from source tests
590-
session.skip("Core deps from source tests are not yet supported")
590+
session.skip("Core deps from source tests are not yet supported")
591+
592+
593+
@nox.session(python=DEFAULT_PYTHON_VERSION)
594+
def mypy(session):
595+
"""Run the type checker."""
596+
# TODO(https://github.com/googleapis/google-cloud-python/issues/16014):
597+
# Add mypy tests
598+
session.skip("mypy tests are not yet supported")

0 commit comments

Comments
 (0)