From 92a6354132131ca26b3f2df22200b95f0fab7361 Mon Sep 17 00:00:00 2001 From: Cyril Achard Date: Fri, 15 May 2026 10:46:49 +0200 Subject: [PATCH] Enable check-json hook in pre-commit Add the check-json hook to .pre-commit-config.yaml and configure it to run locally and in CI via stages. This ensures JSON files are validated before commits to catch syntax errors early. --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 315fabee9..a5956fde1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,6 +16,8 @@ repos: - id: name-tests-test args: [--pytest-test-first] stages: [pre-commit, manual] + - id: check-json + stages: [pre-commit, manual] # These modify files. Run locally only (pre-commit stage). - id: end-of-file-fixer