From 55f29005846ea18fe4c4df1a59463a99952f713e Mon Sep 17 00:00:00 2001 From: John Bampton Date: Wed, 29 Jan 2025 00:26:53 +1000 Subject: [PATCH] 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