From b2dd58d3a5243845b98ea7c2a8a0387fa513bc11 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sat, 23 May 2026 06:22:29 +1000 Subject: [PATCH] [CI] Add pre-commit hook to validate the CITATION file https://check-jsonschema.readthedocs.io/en/latest/precommit_usage.html#check-citation-file-format https://github.com/python-jsonschema/check-jsonschema --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a55fdfd64c6..0a6b2976a98 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -572,3 +572,10 @@ repos: description: checkmake is a linter for Makefiles files: ^python/sedona/doc/Makefile$ args: ['--config=python/sedona/doc/checkmake.ini'] + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.37.2 + hooks: + - id: check-citation-file-format + name: run check-citation-file-format + description: validate citation file format + files: ^CITATION\.cff$