Add pre-commit configuration
This MR adds the configuration for pre-commit to use openCARP/openCARP-CI> to ensure a consistent CITATION.cff
whenever the codemeta.json
file is updated.
# to install
pip install pre-commit
# to install the hook
pre-commit install
# to just run it
pre-commit
codemeta.json
has to be staged with changes for the hook to have an effect.