diff --git a/.librarian/generator-input/client-post-processing/allow-docs-warnings-for-google-shopping-merchant-accounts.yaml b/.librarian/generator-input/client-post-processing/allow-docs-warnings-for-google-shopping-merchant-accounts.yaml deleted file mode 100644 index 0ed1bab55e2d..000000000000 --- a/.librarian/generator-input/client-post-processing/allow-docs-warnings-for-google-shopping-merchant-accounts.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2025 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -description: Allow documentation warnings for google-shopping-merchant-accounts due to formatting issue in google/protobuf/empty.proto -url: https://github.com/googleapis/gapic-generator-python/issues/2490 -replacements: - - paths: [ - packages/google-shopping-merchant-accounts/noxfile.py, - ] - before: ' "-W", # warnings as errors\n' - after: '' - count: 1 diff --git a/.librarian/generator-input/client-post-processing/allow-docs-warnings.yaml b/.librarian/generator-input/client-post-processing/allow-docs-warnings.yaml new file mode 100644 index 000000000000..60fb84dca2ed --- /dev/null +++ b/.librarian/generator-input/client-post-processing/allow-docs-warnings.yaml @@ -0,0 +1,67 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +description: Allow documentation warnings for google-shopping-merchant-accounts due to formatting issue in google/protobuf/empty.proto +url: https://github.com/googleapis/gapic-generator-python/issues/2490 +# Note: having one replacement per package instead of just listing the paths +# is annoying, but that's what synthtool expects and it's not worth fixing that +# at this stage. +replacements: + - paths: [ + packages/google-cloud-compute/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-compute-v1beta/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-container/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-dataplex/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-dialogflow-cx/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-network-connectivity/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-recaptcha-enterprise/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-shopping-merchant-accounts/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1