From a0b8d8b806becd7deea8c9cf952dceda9f881bb0 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 1 Mar 2026 23:43:31 +1100 Subject: [PATCH] feat: update pre-commit with more tests - autofix the end-of-file - report trailing whitespace --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 27c11a9..60d9959 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,14 @@ --- repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + args: [--allow-multiple-documents] + - id: check-merge-conflict + - id: detect-private-key - repo: https://github.com/adrienverge/yamllint.git rev: v1.37.1 hooks: