From c03ebfc703f557eb5af1b7ef895482b754ce0395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Sampedro?= <5142014+rsrdesarrollo@users.noreply.github.com> Date: Thu, 26 Dec 2024 13:21:58 +0100 Subject: [PATCH] Create .pre-commit-hooks.yaml --- .pre-commit-hooks.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..9279403 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,8 @@ +- id: yamale-schema-verify + name: check yaml schema with Yamale + description: prevents invalid yaml schemas from being committed. + entry: yamale + language: python + types: [yaml] + pass_filenames: false + stages: [pre-commit, pre-push, manual]