diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a05ad4d3..ef479218 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -85,6 +85,7 @@ repos: hooks: - id: insert-license files: '.*\.(py|pyi|yaml|yml|sh|helmignore|dockerignore|gitignore)$' + exclude: tests args: - --license-filepath - license_header.txt diff --git a/tests/automated_tests/requirements_test.py b/tests/automated_tests/requirements_test.py index 9ba12ec0..4fea847e 100644 --- a/tests/automated_tests/requirements_test.py +++ b/tests/automated_tests/requirements_test.py @@ -1,17 +1,3 @@ -# Copyright (c) 2022 Robert Bosch GmbH and Microsoft Corporation -# -# This program and the accompanying materials are made available under the -# terms of the Apache License, Version 2.0 which is available at -# https://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. -# -# SPDX-License-Identifier: Apache-2.0 - # Copyright (c) 2023 Robert Bosch GmbH # This program and the accompanying materials are made available under the diff --git a/tests/automated_tests/runtime_test.py b/tests/automated_tests/runtime_test.py index 35547fc1..5daae405 100644 --- a/tests/automated_tests/runtime_test.py +++ b/tests/automated_tests/runtime_test.py @@ -1,17 +1,3 @@ -# Copyright (c) 2022 Robert Bosch GmbH and Microsoft Corporation -# -# This program and the accompanying materials are made available under the -# terms of the Apache License, Version 2.0 which is available at -# https://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. -# -# SPDX-License-Identifier: Apache-2.0 - # Copyright (c) 2023 Robert Bosch GmbH # This program and the accompanying materials are made available under the @@ -51,8 +37,8 @@ def test_runtime(self, runtime): "-x", ( f"/home/vscode/.velocitas/packages/{package_name}/" - "{package_version}/{runtime}/test/integration/" - "integration_test.py" + f"{package_version}/{runtime}/test/integration/" + f"integration_test.py" ), ] )