From 83306e62d4bf0381eabe0ae0bc5e8420b92fa31d Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 20 Oct 2026 08:26:16 +0000 Subject: [PATCH] prek: exempt grant captures from the large file check They keep a netmap per node and stay as recorded. --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62b1f1739..c17c0b211 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,8 +15,8 @@ repos: hooks: - id: check-added-large-files args: [--maxkb=1024] - # Step captures hold a netmap per node per step and stay as recorded. - exclude: ^hscontrol/servertest/testdata/steps/ + # Captures hold a netmap per node (per step) and stay as recorded. + exclude: ^hscontrol/(servertest/testdata/steps|policy/v2/testdata/grant_results)/ - id: check-case-conflict - id: check-executables-have-shebangs - id: check-json