From fbbc548e7f11696a946c139bb799593dc325c037 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 412b2562be..5fd2cd4481 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -158,7 +158,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']