Skip to content

Commit

Permalink
ci(pre-commit): add check-jsonschema (#4002)
Browse files Browse the repository at this point in the history
ci(pre-commit): Add check-jsonschema

Use it to validate the JSON Schema files against their meta-schema.

Issue-Id: SCM-6366

Change-Id: I4b4990972ef7da9b4bfe33dc350fc157a27a47bb

Signed-off-by: Ambroise Vincent <[email protected]>
  • Loading branch information
ambroise-arm authored Jun 16, 2023
1 parent b2fb783 commit 15325f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ repos:
args: [--quiet]
exclude: .cu

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.2
hooks:
- id: check-metaschema
files: ^.+/schema/.*schema\.json$

- repo: local
hooks:
- id: prettier-svg
Expand Down

0 comments on commit 15325f6

Please sign in to comment.