From 573f7655311b553a937f9123bee17bf78497db95 Mon Sep 17 00:00:00 2001 From: "Leah E. Cole" <6719667+leahecole@users.noreply.github.com> Date: Mon, 25 Jan 2021 13:24:08 -0800 Subject: [PATCH] chore: Add header checker config to python library synth (#910) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 :) --- .../.github/header-checker-lint.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 synthtool/gcp/templates/python_library/.github/header-checker-lint.yml diff --git a/synthtool/gcp/templates/python_library/.github/header-checker-lint.yml b/synthtool/gcp/templates/python_library/.github/header-checker-lint.yml new file mode 100644 index 000000000..fc281c05b --- /dev/null +++ b/synthtool/gcp/templates/python_library/.github/header-checker-lint.yml @@ -0,0 +1,15 @@ +{"allowedCopyrightHolders": ["Google LLC"], + "allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"], + "ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"], + "sourceFileExtensions": [ + "ts", + "js", + "java", + "sh", + "Dockerfile", + "yaml", + "py", + "html", + "txt" + ] +} \ No newline at end of file