Skip to content

Commit d391911

Browse files
chore(python): remove CONTRIBUTING.rst from templates (#605)
* chore(python): remove CONTRIBUTING.rst from templates Source-Link: googleapis/synthtool@c96fb11 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:710b70faff81151657d89db6e028c23a1051787598c8276bdd8eef25c92da8ab * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Remove replacement in owlbot.py --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 16b9c73 commit d391911

File tree

2 files changed

+2
-44
lines changed

2 files changed

+2
-44
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:023a21377a2a00008057f99f0118edadc30a19d1636a3fee47189ebec2f3921c
17-
# created: 2025-03-31T16:51:40.130756953Z
16+
digest: sha256:710b70faff81151657d89db6e028c23a1051787598c8276bdd8eef25c92da8ab
17+
# created: 2025-04-10T17:48:54.829145676Z

owlbot.py

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -211,48 +211,6 @@ def docfx(session):
211211
r"Dict[str, str]",
212212
)
213213

214-
# Add documentation about creating indexes and populating data for system
215-
# tests.
216-
assert 1 == s.replace(
217-
"CONTRIBUTING.rst",
218-
r"""
219-
\*\*\*\*\*\*\*\*\*\*\*\*\*
220-
Test Coverage
221-
\*\*\*\*\*\*\*\*\*\*\*\*\*
222-
""",
223-
"""
224-
- You'll need to create composite
225-
`indexes <https://cloud.google.com/datastore/docs/tools/indexconfig>`__
226-
with the ``gcloud`` command line
227-
`tool <https://developers.google.com/cloud/sdk/gcloud/>`__::
228-
229-
# Install the app (App Engine Command Line Interface) component.
230-
$ gcloud components install app-engine-python
231-
232-
# Authenticate the gcloud tool with your account.
233-
$ GOOGLE_APPLICATION_CREDENTIALS="path/to/app_credentials.json"
234-
$ gcloud auth activate-service-account \
235-
> --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
236-
237-
# Create the indexes
238-
$ gcloud datastore indexes create tests/system/index.yaml
239-
240-
- You'll also need stored data in your dataset. To populate this data, run::
241-
242-
$ python tests/system/utils/populate_datastore.py
243-
244-
- If you make a mistake during development (i.e. a failing test that
245-
prevents clean-up) you can clear all system test data from your
246-
datastore instance via::
247-
248-
$ python tests/system/utils/clear_datastore.py
249-
250-
*************
251-
Test Coverage
252-
*************
253-
""",
254-
)
255-
256214
# add type checker nox session
257215
s.replace(
258216
"noxfile.py",

0 commit comments

Comments
 (0)