From 70b19edca82438fabf31b2d0b64614a4eda18b82 Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Thu, 2 Jun 2022 16:42:30 +0200 Subject: [PATCH] Add pre-commit hook to check CITATION.cff --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1ff5e5e32c8..427af33b833 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -63,3 +63,7 @@ repos: typing-extensions==3.10.0.0, numpy, ] + - repo: https://github.com/citation-file-format/cff-converter-python + rev: ebf0b5e44d67f8beaa1cd13a0d0393ea04c6058d + hooks: + - id: validate-cff