From 1cb90d27546178b4c472038518f86d703c2500f0 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 14 Sep 2023 10:16:15 -0400 Subject: [PATCH 1/2] chore: enable warnings as errors in docs build --- owlbot.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/owlbot.py b/owlbot.py index 88669f7f..ce738f01 100644 --- a/owlbot.py +++ b/owlbot.py @@ -51,13 +51,6 @@ python.py_samples(skip_readmes=True) -# ignore docs warnings (only fail on errors). See b/275029141 -s.replace( - 'noxfile.py', - '"-W", # warnings as errors', - '' -) - # run format session for all directories which have a noxfile for noxfile in Path(".").glob("**/noxfile.py"): s.shell.run(["nox", "-s", "format"], cwd=noxfile.parent, hide_output=False) From 3261d7a955252f920853b507516ea73fb6b60463 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 14 Sep 2023 14:19:21 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/noxfile.py b/noxfile.py index 3d7c4c92..40007331 100644 --- a/noxfile.py +++ b/noxfile.py @@ -288,6 +288,7 @@ def docs(session): shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) session.run( "sphinx-build", + "-W", # warnings as errors "-T", # show full traceback on exception "-N", # no colors "-b",