Skip to content

Commit 17e48a8

Browse files
authored
chore: librarian generate pull request: 20251212T192037Z (#14964)
Fixes #14946 by temporarily removing the `-W` flag to stop treating documentation warnings as errors for `google-shopping-merchant-accounts`. The long term solution which is to improve the documentation for `google/protobuf/empty` is tracked in googleapis/gapic-generator-python#2490
1 parent b511ec0 commit 17e48a8

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
description: Allow documentation warnings for google-shopping-merchant-accounts due to formatting issue in google/protobuf/empty.proto
15+
url: https://github.com/googleapis/gapic-generator-python/issues/2490
16+
replacements:
17+
- paths: [
18+
packages/google-shopping-merchant-accounts/noxfile.py,
19+
]
20+
before: ' "-W", # warnings as errors\n'
21+
after: ''
22+
count: 1

.librarian/state.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3980,7 +3980,7 @@ libraries:
39803980
tag_format: '{id}-v{version}'
39813981
- id: google-shopping-merchant-accounts
39823982
version: 1.2.0
3983-
last_generated_commit: 535d161c24965e9ed1a0b27032cc1c8b4beab818
3983+
last_generated_commit: 55ab9c6263bafb0ef1aa2d8722d190c1697bcbcb
39843984
apis:
39853985
- path: google/shopping/merchant/accounts/v1
39863986
service_config: merchantapi_v1.yaml

packages/google-shopping-merchant-accounts/noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ def docs(session):
378378
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
379379
session.run(
380380
"sphinx-build",
381-
"-W", # warnings as errors
382381
"-T", # show full traceback on exception
383382
"-N", # no colors
384383
"-b",

0 commit comments

Comments
 (0)