Skip to content

Commit 786e9de

Browse files
chore: Add header checker config to python library synth (googleapis#138)
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 5e8923f commit 786e9de

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-api-core.git",
7-
"sha": "232dab0ad3ef2cca0edfe707d8f90ca0ea200ba2"
7+
"sha": "5e8923f541b8482a05ab46554b108a2efcc615a9"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "ba960d730416fe05c50547e975ce79fcee52c671"
14+
"sha": "573f7655311b553a937f9123bee17bf78497db95"
1515
}
1616
}
1717
],
@@ -21,6 +21,7 @@
2121
".github/ISSUE_TEMPLATE/feature_request.md",
2222
".github/ISSUE_TEMPLATE/support_request.md",
2323
".github/PULL_REQUEST_TEMPLATE.md",
24+
".github/header-checker-lint.yml",
2425
".github/release-please.yml",
2526
".github/snippet-bot.yml",
2627
".gitignore",

0 commit comments

Comments
 (0)