From 4068c1d7b44f29a300dff67f86f26e55ef595b6f Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Mon, 12 Jun 2023 13:40:57 +0200 Subject: [PATCH] tools: bump check-copyright in .pre-commit-config.yaml Newer check-copyright version 1.0.2 contains fixes for copyrights with single year and also the proposed date update is applied only if number of changed lines is greater or equal to a limit. The default limit is 5 and can be changed with the --lines-changed option if needed. Signed-off-by: Frantisek Hrbata --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 36e6a6909e..97d728f781 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -157,7 +157,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.1 + rev: v1.0.2 hooks: - id: check-copyright args: ['--ignore', 'tools/ci/check_copyright_ignore.txt', '--config', 'tools/ci/check_copyright_config.yaml']