This is an automated email from the ASF dual-hosted git repository. jiayu pushed a commit to branch prepare-1.7.2 in repository https://gitbox.apache.org/repos/asf/sedona.git
commit ff6ed393dec559a129e2eda17edaacdef7e4e770 Author: John Bampton <[email protected]> AuthorDate: Fri Mar 28 14:59:25 2025 +1000 [CI] pre-commit(insert-license): fix bug in comment markers for .c and .h (#1884) --- .pre-commit-config.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00a6c1e621..a1defa0e6c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,11 +33,20 @@ repos: rev: v1.5.5 hooks: - id: insert-license - name: add license for all .c and .h files - files: \.(c|h)$ + name: add license for all .c files + files: \.c$ args: - --comment-style - - "/*|*|*/" + - "/*| *| */" + - --license-filepath + - .github/workflows/license-templates/LICENSE.txt + - --fuzzy-match-generates-todo + - id: insert-license + name: add license for all .h files + files: \.h$ + args: + - --comment-style + - "/*| *| */" - --license-filepath - .github/workflows/license-templates/LICENSE.txt - --fuzzy-match-generates-todo
