Skip to content

Commit 39c50ca

Browse files
authored
chore: allow docs warnings in more packages (#16716)
Renames the post-processing file, and adds more paths to it. This file should be removed entirely once we've upgraded to a later version of the GAPIC generator which fixes the warnings. See #15475 for details on this work.
1 parent fa20a74 commit 39c50ca

2 files changed

Lines changed: 67 additions & 22 deletions

File tree

.librarian/generator-input/client-post-processing/allow-docs-warnings-for-google-shopping-merchant-accounts.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
# Note: having one replacement per package instead of just listing the paths
17+
# is annoying, but that's what synthtool expects and it's not worth fixing that
18+
# at this stage.
19+
replacements:
20+
- paths: [
21+
packages/google-cloud-compute/noxfile.py,
22+
]
23+
before: ' "-W", # warnings as errors\n'
24+
after: ''
25+
count: 1
26+
- paths: [
27+
packages/google-cloud-compute-v1beta/noxfile.py,
28+
]
29+
before: ' "-W", # warnings as errors\n'
30+
after: ''
31+
count: 1
32+
- paths: [
33+
packages/google-cloud-container/noxfile.py,
34+
]
35+
before: ' "-W", # warnings as errors\n'
36+
after: ''
37+
count: 1
38+
- paths: [
39+
packages/google-cloud-dataplex/noxfile.py,
40+
]
41+
before: ' "-W", # warnings as errors\n'
42+
after: ''
43+
count: 1
44+
- paths: [
45+
packages/google-cloud-dialogflow-cx/noxfile.py,
46+
]
47+
before: ' "-W", # warnings as errors\n'
48+
after: ''
49+
count: 1
50+
- paths: [
51+
packages/google-cloud-network-connectivity/noxfile.py,
52+
]
53+
before: ' "-W", # warnings as errors\n'
54+
after: ''
55+
count: 1
56+
- paths: [
57+
packages/google-cloud-recaptcha-enterprise/noxfile.py,
58+
]
59+
before: ' "-W", # warnings as errors\n'
60+
after: ''
61+
count: 1
62+
- paths: [
63+
packages/google-shopping-merchant-accounts/noxfile.py,
64+
]
65+
before: ' "-W", # warnings as errors\n'
66+
after: ''
67+
count: 1

0 commit comments

Comments
 (0)