This is an automated email from the ASF dual-hosted git repository.
mseidel 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 55f2900584 Add pre-commit hook `end-of-file-fixer`; check `.hxx` files
(#261)
55f2900584 is described below
commit 55f29005846ea18fe4c4df1a59463a99952f713e
Author: John Bampton <[email protected]>
AuthorDate: Wed Jan 29 00:26:53 2025 +1000
Add pre-commit hook `end-of-file-fixer`; check `.hxx` files (#261)
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#end-of-file-fixer
---
.pre-commit-config.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6c7a5c243d..53815e10ab 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -32,6 +32,8 @@ repos:
- id: check-illegal-windows-names
- id: check-merge-conflict
- id: check-vcs-permalinks
+ - id: end-of-file-fixer
+ files: \.hxx$
- id: mixed-line-ending
files: ^main/.*\.(c|h)xx$
- repo: https://github.com/codespell-project/codespell