|
57 | 57 | def _get_good_license(): |
58 | 58 | current_year = int(os.getenv("TEST_CURRENT_YEAR", date.today().year)) |
59 | 59 | good_license = f"""/* |
60 | | - * Copyright {current_year} Google LLC |
61 | | - * |
62 | | - * Licensed under the Apache License, Version 2.0 (the "License"); |
63 | | - * you may not use this file except in compliance with the License. |
64 | | - * You may obtain a copy of the License at |
65 | | - * |
66 | | - * https://www.apache.org/licenses/LICENSE-2.0 |
67 | | - * |
68 | | - * Unless required by applicable law or agreed to in writing, software |
69 | | - * distributed under the License is distributed on an "AS IS" BASIS, |
70 | | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
71 | | - * See the License for the specific language governing permissions and |
72 | | - * limitations under the License. |
73 | | - */ |
74 | | - """ |
| 60 | +* Copyright {current_year} Google LLC |
| 61 | +* |
| 62 | +* Licensed under the Apache License, Version 2.0 (the "License"); |
| 63 | +* you may not use this file except in compliance with the License. |
| 64 | +* You may obtain a copy of the License at |
| 65 | +* |
| 66 | +* https://www.apache.org/licenses/LICENSE-2.0 |
| 67 | +* |
| 68 | +* Unless required by applicable law or agreed to in writing, software |
| 69 | +* distributed under the License is distributed on an "AS IS" BASIS, |
| 70 | +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 71 | +* See the License for the specific language governing permissions and |
| 72 | +* limitations under the License. |
| 73 | +*/ |
| 74 | +""" |
75 | 75 | return good_license |
76 | 76 |
|
77 | 77 |
|
|
0 commit comments