From 68d44fccd99fce6cd0fcc60ab75f4df3290fd588 Mon Sep 17 00:00:00 2001 From: Kierra Searle Date: Mon, 11 Nov 2024 10:55:41 -0500 Subject: [PATCH] feat: lint ibm_catalog.json (#1059) --- module-assets/.pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/module-assets/.pre-commit-config.yaml b/module-assets/.pre-commit-config.yaml index efcf3d54..dd092706 100644 --- a/module-assets/.pre-commit-config.yaml +++ b/module-assets/.pre-commit-config.yaml @@ -179,3 +179,10 @@ repos: rev: v0.1.24 hooks: - id: helmlint +# ibm_catalog.json lint +- repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.29.4 + hooks: + - id: check-jsonschema + files: ibm_catalog.json + args: ["--schemafile", "https://raw.githubusercontent.com/IBM/customized-deployable-architecture/refs/tags/0.0.90/ibm_catalog-schema.json"]