From 5b5bf6d519b2d658d9f2e483d9f6f3d0ba8ee6bc Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 6 Apr 2021 11:32:03 -0400 Subject: [PATCH] chore: Add license headers for python config files (#1021) --- .../python_library/.pre-commit-config.yaml | 14 ++++++++++++++ .../gcp/templates/python_library/docs/conf.py.j2 | 13 +++++++++++++ 2 files changed, 27 insertions(+) diff --git a/synthtool/gcp/templates/python_library/.pre-commit-config.yaml b/synthtool/gcp/templates/python_library/.pre-commit-config.yaml index 32302e488..8912e9b5d 100644 --- a/synthtool/gcp/templates/python_library/.pre-commit-config.yaml +++ b/synthtool/gcp/templates/python_library/.pre-commit-config.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: diff --git a/synthtool/gcp/templates/python_library/docs/conf.py.j2 b/synthtool/gcp/templates/python_library/docs/conf.py.j2 index 334c5aa41..f8439e1e5 100644 --- a/synthtool/gcp/templates/python_library/docs/conf.py.j2 +++ b/synthtool/gcp/templates/python_library/docs/conf.py.j2 @@ -1,4 +1,17 @@ # -*- coding: utf-8 -*- +# Copyright 2021 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # # {{ metadata['repo']['distribution_name'] }} documentation build configuration file #