aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshi Automation Bot <yoshi-automation@google.com>2021-04-11 04:09:14 -0700
committerGitHub <noreply@github.com>2021-04-11 07:09:14 -0400
commit282725df279936d2490248cafe71a6d3eb9985f5 (patch)
tree54baf75a24ffc264bea07953e381b5ff2d9e62a7
parent8c7ac29ce8b1680fc0991f5001ed4a6ad580f951 (diff)
downloadpython-api-core-282725df279936d2490248cafe71a6d3eb9985f5.tar.gz
chore: add constraints file check for python samples (#170)
This is the sibling PR to https://github.com/GoogleCloudPlatform/python-docs-samples/pull/5611 and this is the issue opened for it https://github.com/GoogleCloudPlatform/python-docs-samples/issues/5549
-rw-r--r--.github/header-checker-lint.yml2
-rw-r--r--renovate.json5
-rw-r--r--synth.metadata4
3 files changed, 7 insertions, 4 deletions
diff --git a/.github/header-checker-lint.yml b/.github/header-checker-lint.yml
index fc281c0..6fe78aa 100644
--- a/.github/header-checker-lint.yml
+++ b/.github/header-checker-lint.yml
@@ -1,6 +1,6 @@
{"allowedCopyrightHolders": ["Google LLC"],
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
- "ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"],
+ "ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt", "**/__init__.py", "samples/**/constraints.txt", "samples/**/constraints-test.txt"],
"sourceFileExtensions": [
"ts",
"js",
diff --git a/renovate.json b/renovate.json
index f08bc22..c048955 100644
--- a/renovate.json
+++ b/renovate.json
@@ -2,5 +2,8 @@
"extends": [
"config:base", ":preserveSemverRanges"
],
- "ignorePaths": [".pre-commit-config.yaml"]
+ "ignorePaths": [".pre-commit-config.yaml"],
+ "pip_requirements": {
+ "fileMatch": ["requirements-test.txt", "samples/[\\S/]*constraints.txt", "samples/[\\S/]*constraints-test.txt"]
+ }
}
diff --git a/synth.metadata b/synth.metadata
index c66286d..24df57c 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-api-core.git",
- "sha": "49c6755a21215bbb457b60db91bab098185b77da"
+ "sha": "8c7ac29ce8b1680fc0991f5001ed4a6ad580f951"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "5b5bf6d519b2d658d9f2e483d9f6f3d0ba8ee6bc"
+ "sha": "0a071b3460344886297a304253bf924aa68ddb7e"
}
}
],