From fc6272e9b0b4f3a7aa17f0051be7f1e20dd054be Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Wed, 8 Jan 2025 19:10:13 +0100 Subject: [PATCH] ci(tools): Check copyright for BSASM files --- .pre-commit-config.yaml | 2 +- tools/ci/check_copyright_config.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c3cba871a2..1b230247471 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -200,7 +200,7 @@ repos: - id: file-contents-sorter files: 'tools\/ci\/(executable-list\.txt|mypy_ignore_list\.txt|check_copyright_ignore\.txt)' - repo: https://github.com/espressif/check-copyright/ - rev: v1.0.3 + rev: v1.1.0 hooks: - id: check-copyright args: ['--ignore', 'tools/ci/check_copyright_ignore.txt', '--config', 'tools/ci/check_copyright_config.yaml'] diff --git a/tools/ci/check_copyright_config.yaml b/tools/ci/check_copyright_config.yaml index 35e80ecbd31..66352961c21 100644 --- a/tools/ci/check_copyright_config.yaml +++ b/tools/ci/check_copyright_config.yaml @@ -39,6 +39,10 @@ DEFAULT: # SPDX-FileCopyrightText: {years} Espressif Systems (Shanghai) CO LTD # SPDX-License-Identifier: {license} + new_notice_bsasm: | # notice for new bsasm files + # SPDX-FileCopyrightText: {years} Espressif Systems (Shanghai) CO LTD + # SPDX-License-Identifier: {license} + # comment lines matching: # SPDX-FileCopyrightText: year[-year] Espressif Systems # or