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)