From 21a47bb1ac6afd6365b28ae51192cab5bbcc2d5c Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 4 Apr 2025 07:20:04 +0200 Subject: [PATCH] chore: add config-schema extract to pre-commit --- .pre-commit-config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 200f12818..de9880155 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,16 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: + + - repo: local + hooks: + - id: Extract config json schema + name: extract-config-json-schema + entry: "python build_helpers/extract_config_json_schema.py" + language: python + pass_filenames: false + additional_dependencies: ["python-rapidjson", "jsonschema"] + - repo: https://github.com/pycqa/flake8 rev: "7.2.0" hooks: