From 0c3c9cf4c359c08b733a0b9150cf5513cf2869ee Mon Sep 17 00:00:00 2001 From: arithmetic1728 Date: Thu, 6 Aug 2020 19:16:14 -0700 Subject: [PATCH] fix docs error --- noxfile.py | 2 +- synth.metadata | 2 +- synth.py | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index eac1ace..5849759 100644 --- a/noxfile.py +++ b/noxfile.py @@ -154,7 +154,7 @@ def docs(session): shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) session.run( "sphinx-build", - "-W", # warnings as errors + # "-W", # warnings as errors "-T", # show full traceback on exception "-N", # no colors "-b", diff --git a/synth.metadata b/synth.metadata index b87cbb6..5431552 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-datalabeling.git", - "sha": "e6524ceb60bf3f785c422bce470d562d79f03022" + "sha": "aa2ef07908ba9585fc93e263d4eb169cd171e9e9" } }, { diff --git a/synth.py b/synth.py index 242e09c..4364145 100644 --- a/synth.py +++ b/synth.py @@ -92,4 +92,6 @@ # ---------------------------------------------------------------------------- python.py_samples(skip_readmes=True) +s.replace("noxfile.py", '[\"\']-W[\"\']', '# "-W"') + s.shell.run(["nox", "-s", "blacken"], hide_output=False)