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

Commit 79588df

Browse files
chore: update templates (#3)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * chore: add missing quotation mark Source-Author: Bu Sun Kim <[email protected]> Source-Date: Mon Jan 11 09:43:06 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 16ec872dd898d7de6e1822badfac32484b5d9031 Source-Link: googleapis/synthtool@16ec872 * build(python): make `NOX_SESSION` optional I added this accidentally in #889. `NOX_SESSION` should be passed down if it is set but not marked required. Source-Author: Bu Sun Kim <[email protected]> Source-Date: Tue Jan 19 09:38:04 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: ba960d730416fe05c50547e975ce79fcee52c671 Source-Link: googleapis/synthtool@ba960d7 * chore: Add header checker config to python library synth Now that we have it working in [python-docs-samples](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/.github/header-checker-lint.yml) we should consider adding it to the 🐍 libraries :) Source-Author: Leah E. Cole <[email protected]> Source-Date: Mon Jan 25 13:24:08 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 573f7655311b553a937f9123bee17bf78497db95 Source-Link: googleapis/synthtool@573f765 * chore: add noxfile parameters for extra dependencies Also, add tests for some noxfile parameters for assurance that the template generates valid Python. Co-authored-by: Jeffrey Rennie <[email protected]> Source-Author: Tim Swast <[email protected]> Source-Date: Tue Jan 26 12:26:57 2021 -0600 Source-Repo: googleapis/synthtool Source-Sha: 778d8beae28d6d87eb01fdc839a4b4d966ed2ebe Source-Link: googleapis/synthtool@778d8be * build: migrate to flakybot Source-Author: Justin Beckwith <[email protected]> Source-Date: Thu Jan 28 22:22:38 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: d1bb9173100f62c0cfc8f3138b62241e7f47ca6a Source-Link: googleapis/synthtool@d1bb917
1 parent 867e1f5 commit 79588df

File tree

4 files changed

+112
-6
lines changed

4 files changed

+112
-6
lines changed

.github/header-checker-lint.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{"allowedCopyrightHolders": ["Google LLC"],
2+
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
3+
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"],
4+
"sourceFileExtensions": [
5+
"ts",
6+
"js",
7+
"java",
8+
"sh",
9+
"Dockerfile",
10+
"yaml",
11+
"py",
12+
"html",
13+
"txt"
14+
]
15+
}

.trampolinerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
required_envvars+=(
1919
"STAGING_BUCKET"
2020
"V2_STAGING_BUCKET"
21-
"NOX_SESSION"
2221
)
2322

2423
# Add env vars which are passed down into the container here.

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
DEFAULT_PYTHON_VERSION = "3.8"
3030
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"]
31-
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8"]
31+
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]
3232

3333
# 'docfx' is excluded since it only needs to run in 'docs-presubmit'
3434
nox.options.sessions = [
@@ -86,6 +86,7 @@ def default(session):
8686
session.install(
8787
"mock", "pytest", "pytest-cov",
8888
)
89+
8990
session.install("-e", ".")
9091

9192
# Run py.test against the unit tests.

synth.metadata

Lines changed: 95 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
{
44
"git": {
55
"name": ".",
6-
"remote": "git@github.com:googleapis/python-binary-authorization",
7-
"sha": "9f6c2c61b7cdf188da47007f88f032b8dc9b2128"
6+
"remote": "https://github.com/googleapis/python-binary-authorization.git",
7+
"sha": "867e1f5cf4b4cc5b3f334c42f73cb13e8e096350"
88
}
99
},
1010
{
@@ -19,14 +19,14 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483"
22+
"sha": "d1bb9173100f62c0cfc8f3138b62241e7f47ca6a"
2323
}
2424
},
2525
{
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483"
29+
"sha": "d1bb9173100f62c0cfc8f3138b62241e7f47ca6a"
3030
}
3131
}
3232
],
@@ -40,5 +40,96 @@
4040
"generator": "bazel"
4141
}
4242
}
43+
],
44+
"generatedFiles": [
45+
".coveragerc",
46+
".flake8",
47+
".github/CONTRIBUTING.md",
48+
".github/ISSUE_TEMPLATE/bug_report.md",
49+
".github/ISSUE_TEMPLATE/feature_request.md",
50+
".github/ISSUE_TEMPLATE/support_request.md",
51+
".github/PULL_REQUEST_TEMPLATE.md",
52+
".github/header-checker-lint.yml",
53+
".github/release-please.yml",
54+
".github/snippet-bot.yml",
55+
".gitignore",
56+
".kokoro/build.sh",
57+
".kokoro/continuous/common.cfg",
58+
".kokoro/continuous/continuous.cfg",
59+
".kokoro/docker/docs/Dockerfile",
60+
".kokoro/docker/docs/fetch_gpg_keys.sh",
61+
".kokoro/docs/common.cfg",
62+
".kokoro/docs/docs-presubmit.cfg",
63+
".kokoro/docs/docs.cfg",
64+
".kokoro/populate-secrets.sh",
65+
".kokoro/presubmit/common.cfg",
66+
".kokoro/presubmit/presubmit.cfg",
67+
".kokoro/publish-docs.sh",
68+
".kokoro/release.sh",
69+
".kokoro/release/common.cfg",
70+
".kokoro/release/release.cfg",
71+
".kokoro/samples/lint/common.cfg",
72+
".kokoro/samples/lint/continuous.cfg",
73+
".kokoro/samples/lint/periodic.cfg",
74+
".kokoro/samples/lint/presubmit.cfg",
75+
".kokoro/samples/python3.6/common.cfg",
76+
".kokoro/samples/python3.6/continuous.cfg",
77+
".kokoro/samples/python3.6/periodic.cfg",
78+
".kokoro/samples/python3.6/presubmit.cfg",
79+
".kokoro/samples/python3.7/common.cfg",
80+
".kokoro/samples/python3.7/continuous.cfg",
81+
".kokoro/samples/python3.7/periodic.cfg",
82+
".kokoro/samples/python3.7/presubmit.cfg",
83+
".kokoro/samples/python3.8/common.cfg",
84+
".kokoro/samples/python3.8/continuous.cfg",
85+
".kokoro/samples/python3.8/periodic.cfg",
86+
".kokoro/samples/python3.8/presubmit.cfg",
87+
".kokoro/test-samples.sh",
88+
".kokoro/trampoline.sh",
89+
".kokoro/trampoline_v2.sh",
90+
".pre-commit-config.yaml",
91+
".trampolinerc",
92+
"CODE_OF_CONDUCT.md",
93+
"CONTRIBUTING.rst",
94+
"LICENSE",
95+
"MANIFEST.in",
96+
"docs/_static/custom.css",
97+
"docs/_templates/layout.html",
98+
"docs/binaryauthorization_v1beta1/binauthz_management_service_v1_beta1.rst",
99+
"docs/binaryauthorization_v1beta1/services.rst",
100+
"docs/binaryauthorization_v1beta1/types.rst",
101+
"docs/conf.py",
102+
"docs/multiprocessing.rst",
103+
"google/cloud/binaryauthorization/__init__.py",
104+
"google/cloud/binaryauthorization/py.typed",
105+
"google/cloud/binaryauthorization_v1beta1/__init__.py",
106+
"google/cloud/binaryauthorization_v1beta1/py.typed",
107+
"google/cloud/binaryauthorization_v1beta1/services/__init__.py",
108+
"google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/__init__.py",
109+
"google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/async_client.py",
110+
"google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/client.py",
111+
"google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/pagers.py",
112+
"google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/__init__.py",
113+
"google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/base.py",
114+
"google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/grpc.py",
115+
"google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/grpc_asyncio.py",
116+
"google/cloud/binaryauthorization_v1beta1/types/__init__.py",
117+
"google/cloud/binaryauthorization_v1beta1/types/resources.py",
118+
"google/cloud/binaryauthorization_v1beta1/types/service.py",
119+
"mypy.ini",
120+
"noxfile.py",
121+
"renovate.json",
122+
"scripts/decrypt-secrets.sh",
123+
"scripts/fixup_binaryauthorization_v1beta1_keywords.py",
124+
"scripts/readme-gen/readme_gen.py",
125+
"scripts/readme-gen/templates/README.tmpl.rst",
126+
"scripts/readme-gen/templates/auth.tmpl.rst",
127+
"scripts/readme-gen/templates/auth_api_key.tmpl.rst",
128+
"scripts/readme-gen/templates/install_deps.tmpl.rst",
129+
"scripts/readme-gen/templates/install_portaudio.tmpl.rst",
130+
"setup.cfg",
131+
"testing/.gitignore",
132+
"tests/unit/gapic/binaryauthorization_v1beta1/__init__.py",
133+
"tests/unit/gapic/binaryauthorization_v1beta1/test_binauthz_management_service_v1_beta1.py"
43134
]
44135
}

0 commit comments

Comments
 (0)