This is an automated email from the ASF dual-hosted git repository.

johnbam pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 42e730866c Run pre-commit autoupdate to update the hooks (#456)
42e730866c is described below

commit 42e730866ca24d6cd8569b45d0b72270b18de7cb
Author: John Bampton <[email protected]>
AuthorDate: Thu Jan 1 06:28:07 2026 +1000

    Run pre-commit autoupdate to update the hooks (#456)
    
    Added some inline docs by adding description keys and values to hooks.
    
    Some inline docs that help explain what the hooks are for
---
 .pre-commit-config.yaml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 14970133c6..1ca2bc1f54 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -26,7 +26,7 @@ repos:
       - id: identity
       - id: check-hooks-apply
   - repo: https://github.com/gitleaks/gitleaks
-    rev: v8.28.0
+    rev: v8.30.0
     hooks:
       - id: gitleaks
         name: run gitleaks
@@ -47,15 +47,23 @@ repos:
     rev: v6.0.0
     hooks:
       - id: check-case-conflict
+        description: check for files with names that would conflict on a 
case-insensitive filesystem like MacOS HFS+ or Windows FAT
       - id: check-illegal-windows-names
+        description: check for files that cannot be created on Windows
       - id: check-merge-conflict
+        description: check for files that contain merge conflict strings
       - id: check-vcs-permalinks
+        description: ensures that links to vcs websites are permalinks
       - id: end-of-file-fixer
+        description: makes sure files end in a newline and only a newline
         files: 
(m|M)akefile$|\.(asp|bas|bat|c|cl|cmd|common|component|cpp|cxx|dxp|el|h|hrc|hxx|idl|in|ini|java|js|lst|m|m4|map|md|mk|mm|mod|pas|php|pl|pm|pmk|py|rc|rdf|rng|sdi|sh|src|ulf|vbs|xba|xcs|xcu|xdl|xhp|xlb|xmi|xml|xsd|xslt?|ya?ml)$|^ext_libraries/.*$|^test/.*$
       - id: fix-byte-order-marker
+        description: removes UTF-8 byte order marker
       - id: mixed-line-ending
+        description: replaces or checks mixed line ending
         files: 
\.(asp|bas|c|cl|cmd|common|component|cpp|cxx|dxp|el|h|hrc|hxx|idl|in|ini|java|js|lst|m|m4|map|md|mk|mm|mod|pas|php|pl|pm|pmk|py|rc|rdf|rng|sdi|sh|src|ulf|vbs|xba|xcs|xcu|xdl|xhp|xlb|xmi|xsd|xslt?|ya?ml)$|^main/accessibility/.*$|^main/afms/.*$|^main/animations/.*$|^main/apache-commons/.*$|^test/testgui/.*$
       - id: trailing-whitespace
+        description: trims trailing whitespace
         files: 
(m|M)akefile$|\.(asp|bas|bat|c|cl|cmd|common|component|cpp|cxx|dxp|el|h|hrc|hxx|idl|in|ini|java|js|lst|m|m4|map|md|mk|mm|mod|pas|php|pl|pm|pmk|py|rc|rdf|rng|sdi|sh|src|ulf|vbs|xba|xcs|xcu|xdl|xhp|xlb|xmi|xml|xsd|ya?ml)$
         args: [--markdown-linebreak-ext=md]
   - repo: https://github.com/codespell-project/codespell
@@ -67,7 +75,7 @@ repos:
         args: [--ignore-words=.github/linters/codespell.txt]
         exclude: ^extras/
   - repo: https://github.com/igorshubovych/markdownlint-cli
-    rev: v0.45.0
+    rev: v0.47.0
     hooks:
       - id: markdownlint
         name: run markdownlint

Reply via email to