Skip to content

Commit 15325f6

Browse files
authored
ci(pre-commit): add check-jsonschema (autowarefoundation#4002)
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 <ambroise.vincent@arm.com>
1 parent b2fb783 commit 15325f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ repos:
7878
args: [--quiet]
7979
exclude: .cu
8080

81+
- repo: https://github.com/python-jsonschema/check-jsonschema
82+
rev: 0.23.2
83+
hooks:
84+
- id: check-metaschema
85+
files: ^.+/schema/.*schema\.json$
86+
8187
- repo: local
8288
hooks:
8389
- id: prettier-svg

0 commit comments

Comments
 (0)