From 6d95afbc22d1b2c1e7a5b3790f56c19901d2671e Mon Sep 17 00:00:00 2001 From: HemangChothani Date: Fri, 19 Jun 2020 16:31:40 +0530 Subject: [PATCH] docs(bigquery): fix the broken docs --- google/cloud/bigquery/dataset.py | 2 +- noxfile.py | 2 +- synth.py | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/google/cloud/bigquery/dataset.py b/google/cloud/bigquery/dataset.py index 40489a38b..c804c1c17 100644 --- a/google/cloud/bigquery/dataset.py +++ b/google/cloud/bigquery/dataset.py @@ -84,7 +84,7 @@ class AccessEntry(object): See https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets. - Attributes: + Args: role (str): Role granted to the entity. The following string values are supported: `'READER'`, `'WRITER'`, `'OWNER'`. It may also be diff --git a/noxfile.py b/noxfile.py index b2d26568c..777c473ea 100644 --- a/noxfile.py +++ b/noxfile.py @@ -129,7 +129,7 @@ def cover(session): session.run("coverage", "erase") -@nox.session(python="3.8") +@nox.session(python="3.7") def lint(session): """Run linters. diff --git a/synth.py b/synth.py index d26c61489..aaac6d71f 100644 --- a/synth.py +++ b/synth.py @@ -61,4 +61,10 @@ templated_files = common.py_library(cov_level=100) s.move(templated_files, excludes=["noxfile.py"]) +s.replace( + "docs/conf.py", + '{"members": True}', + '{"members": True, "inherited-members": True}' +) + s.shell.run(["nox", "-s", "blacken"], hide_output=False)