Skip to content

Commit 7736ba2

Browse files
committed
tests: add lint_setup_py
1 parent 16e5b04 commit 7736ba2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

packages/google-cloud-ndb/noxfile.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,3 +408,10 @@ def mypy(session):
408408
# TODO(https://github.com/googleapis/google-cloud-python/issues/16014):
409409
# Enable mypy once this bug is fixed.
410410
session.skip("Temporarily skip mypy. See issue 16014")
411+
412+
413+
@nox.session(python=DEFAULT_INTERPRETER)
414+
def lint_setup_py(session):
415+
"""Verify that setup.py is valid (including RST check)."""
416+
session.install("setuptools", "docutils", "pygments")
417+
session.run("python", "setup.py", "check", "--restructuredtext", "--strict")

0 commit comments

Comments
 (0)