From 6569625c71b5e9209355d2ac80f240e8100f0656 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 28 Jan 2025 23:28:20 +1000 Subject: [PATCH] Add pre-commit hook `end-of-file-fixer`; check `.hxx` files https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#end-of-file-fixer --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7bab1d4fea..5b33174a47 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,6 +25,11 @@ repos: hooks: - id: identity - id: check-hooks-apply + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: end-of-file-fixer + files: \.hxx$ - repo: https://github.com/codespell-project/codespell rev: v2.2.6 hooks: