Skip to content

Quickstart

Getting Started

update-codemeta

The update-codemeta pre-commit hook uses codemetapy to generate or update a codemeta.json based on metadata in your pyproject.toml.

You can use it by adding the following snippet to your .pre-commit-config.yaml:

...
  - repo: https://github.com/Materials-Data-Science-and-Informatics/dev-utils
    rev: 'LATEST_VERSION_TAG'  # <- replace with latest release tag or commit hash
    hooks:
      - id: update-codemeta
        files: ^pyproject.toml$
...