From 0ec8cfddec01cf834bcfeee07acce60d7e42ceb3 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Tue, 10 Nov 2026 17:35:55 +0100 Subject: [PATCH] Exempt run_tcx fixtures from whitespace fixers Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WzxdWZ9CKZsNxtD5Jr9bYD --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2f16d1d..b2ec58e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,9 +13,13 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: + # run_tcx holds byte-exact RunnerUp exports; the golden test compares the + # encoder's output with them, so the fixers must never rewrite them. - id: trailing-whitespace args: [--markdown-linebreak-ext=md] + exclude: ^screen_locker/tests/fixtures/run_tcx/ - id: end-of-file-fixer + exclude: ^screen_locker/tests/fixtures/run_tcx/ - id: check-yaml # pnpm-lock.yaml is a two-document stream by design. exclude: ^web/pnpm-lock\.yaml$