Skip to content

Commit 16d778f

Browse files
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
1 parent e7a4222 commit 16d778f

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
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+
}

synth.metadata

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"git": {
1919
"name": "synthtool",
2020
"remote": "https://github.com/googleapis/synthtool.git",
21-
"sha": "fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483"
21+
"sha": "573f7655311b553a937f9123bee17bf78497db95"
2222
}
2323
}
2424
],
@@ -28,6 +28,7 @@
2828
".github/ISSUE_TEMPLATE/feature_request.md",
2929
".github/ISSUE_TEMPLATE/support_request.md",
3030
".github/PULL_REQUEST_TEMPLATE.md",
31+
".github/header-checker-lint.yml",
3132
".github/release-please.yml",
3233
".github/snippet-bot.yml",
3334
".kokoro/build.sh",

0 commit comments

Comments
 (0)