Skip to content

Commit 890c687

Browse files
authored
tests: remove 'treat warnings as errors' flag for docs (#16627)
Fixes #15655
1 parent 4be0adf commit 890c687

File tree

11 files changed

+6
-8
lines changed

11 files changed

+6
-8
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,9 @@ pylintrc.test
6666

6767
# Ruff cache
6868
.ruff_cache
69+
70+
# Bazel (created in packages/gapic-generator)
71+
bazel-bin
72+
bazel-gapic-generator
73+
bazel-out
74+
bazel-testlogs

packages/gapic-generator/gapic/templates/noxfile.py.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ def docs(session):
392392
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
393393
session.run(
394394
"sphinx-build",
395-
"-W", # warnings as errors
396395
"-T", # show full traceback on exception
397396
"-N", # no colors
398397
"-b", "html", # builder

packages/gapic-generator/tests/integration/goldens/asset/noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def docs(session):
384384
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
385385
session.run(
386386
"sphinx-build",
387-
"-W", # warnings as errors
388387
"-T", # show full traceback on exception
389388
"-N", # no colors
390389
"-b", "html", # builder

packages/gapic-generator/tests/integration/goldens/credentials/noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def docs(session):
384384
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
385385
session.run(
386386
"sphinx-build",
387-
"-W", # warnings as errors
388387
"-T", # show full traceback on exception
389388
"-N", # no colors
390389
"-b", "html", # builder

packages/gapic-generator/tests/integration/goldens/eventarc/noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def docs(session):
384384
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
385385
session.run(
386386
"sphinx-build",
387-
"-W", # warnings as errors
388387
"-T", # show full traceback on exception
389388
"-N", # no colors
390389
"-b", "html", # builder

packages/gapic-generator/tests/integration/goldens/logging/noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def docs(session):
384384
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
385385
session.run(
386386
"sphinx-build",
387-
"-W", # warnings as errors
388387
"-T", # show full traceback on exception
389388
"-N", # no colors
390389
"-b", "html", # builder

packages/gapic-generator/tests/integration/goldens/logging_internal/noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def docs(session):
384384
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
385385
session.run(
386386
"sphinx-build",
387-
"-W", # warnings as errors
388387
"-T", # show full traceback on exception
389388
"-N", # no colors
390389
"-b", "html", # builder

packages/gapic-generator/tests/integration/goldens/redis/noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def docs(session):
384384
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
385385
session.run(
386386
"sphinx-build",
387-
"-W", # warnings as errors
388387
"-T", # show full traceback on exception
389388
"-N", # no colors
390389
"-b", "html", # builder

packages/gapic-generator/tests/integration/goldens/redis/testing/constraints-3.9-async-rest.txt

100644100755
File mode changed.

packages/gapic-generator/tests/integration/goldens/redis_selective/noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def docs(session):
384384
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
385385
session.run(
386386
"sphinx-build",
387-
"-W", # warnings as errors
388387
"-T", # show full traceback on exception
389388
"-N", # no colors
390389
"-b", "html", # builder

0 commit comments

Comments
 (0)