Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
changes without context
Browse files Browse the repository at this point in the history
        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.
  • Loading branch information
yoshi-automation committed Jun 17, 2021
1 parent 80aba01 commit 8368c30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
24 changes: 0 additions & 24 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,30 +182,6 @@ Build the docs via:

$ nox -s docs

*************************
Samples and code snippets
*************************

Code samples and snippets live in the `samples/` catalogue. Feel free to
provide more examples, but make sure to write tests for those examples.
Each folder containing example code requires its own `noxfile.py` script
which automates testing. If you decide to create a new folder, you can
base it on the `samples/snippets` folder (providing `noxfile.py` and
the requirements files).

The tests will run against a real Google Cloud Project, so you should
configure them just like the System Tests.

- To run sample tests, you can execute::

# Run all tests in a folder
$ cd samples/snippets
$ nox -s py-3.8

# Run a single sample test
$ cd samples/snippets
$ nox -s py-3.8 -- -k <name of test>

********************************************
Note About ``README`` as it pertains to PyPI
********************************************
Expand Down
4 changes: 3 additions & 1 deletion synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-compute.git",
"sha": "ce057e7b80baca7ef577ee1495ba034cdb3a491a"
"sha": "80aba0119d3001a913b30b903cb34ee29558dab2"
}
},
{
Expand Down Expand Up @@ -83,6 +83,7 @@
"CONTRIBUTING.rst",
"LICENSE",
"MANIFEST.in",
"SECURITY.md",
"docs/_static/custom.css",
"docs/_templates/layout.html",
"docs/compute_v1/accelerator_types.rst",
Expand Down Expand Up @@ -644,6 +645,7 @@
"mypy.ini",
"noxfile.py",
"renovate.json",
"samples/snippets/noxfile.py",
"scripts/decrypt-secrets.sh",
"scripts/readme-gen/readme_gen.py",
"scripts/readme-gen/templates/README.tmpl.rst",
Expand Down

0 comments on commit 8368c30

Please sign in to comment.