Development (contributor workflow)

This page documents common contributor workflows: pre-commit, Commitizen.

Pre-commit hooks (verification tests)

Run hooks manually when needed:

Terminal (pwsh / bash):

# Run all pre-commit hooks against all files
pre-commit run --all-files
# Run all pre-commit hooks against all files, as they would run on pre-push
pre-commit run --all-files --hook-stage pre-push

Commitizen (conventional commits)

Use cz commit to create standardized commit messages. The commit-msg pre-commit hook validates the format.

Terminal (pwsh / bash):

# Run instead of git commit to create a standardized commit message
cz commit
# Alternative: Create and preview the commit message without creating a commit
cz commit --dry-run
# This command creates and commits automatically the version bump and changelog update
# --retry is required, because of pre-commit hooks
cz bump --retry