From e8ab3f56f7f029938fb1529e8a716b5dc2aea128 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Mon, 5 Oct 2026 09:20:33 +0200 Subject: [PATCH] Exclude the empty backup_restore fixture from check-json (#184289) Co-authored-by: Claude Opus 5 --- .pre-commit-config.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7870cfbc7270..80f5066ce5c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,12 @@ repos: - id: check-executables-have-shebangs stages: [manual] - id: check-json - exclude: (.vscode|.devcontainer) + exclude: | + (?x)^( + .vscode| + .devcontainer| + tests/fixtures/core/backup_restore/restore1.json + ) - id: no-commit-to-branch args: - --branch=dev