From 4d5c1397d46089881e263e5fae0ecab01b4c237a Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Tue, 17 Jan 2023 11:10:29 +0100 Subject: [PATCH] Add pre-commit hooks using adviser Once we have a proper release of adviser we'll use that --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a884509bc9d..0cd22f8acc9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,3 +17,10 @@ repos: hooks: - id: yamllint args: [-c=.yamllint] + +- repo: https://github.com/thoth-station/adviser.git + rev: 0669b0ea595e9eb59998efb11a236d3039dacdf8 + hooks: + - id: validate-prescriptions + files: prescriptions/ + exclude: prescriptions/_prescription_metadata.yaml