From aa1ed44803e9d609655103849ce4a343e0e54df2 Mon Sep 17 00:00:00 2001 From: Ziv Yaniv Date: Thu, 11 Jul 2024 16:07:09 -0400 Subject: [PATCH] Adding JSON and yaml file validity pre-commit hooks. Adding the pre-commit hooks that check validity of configuration files. --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3d7e76a..79c1d3d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,8 @@ repos: hooks: # check for large files, in our case images, should commit with git-lfs - id: check-added-large-files args: ['--maxkb=200'] + - id: check-json + - id: check-yaml - repo: https://github.com/psf/black rev: 22.12.0 hooks: # check conformance to black formatting