#!/bin/sh
if ! uv run --no-project python scripts/commit_policy.py "$1"; then
    printf 'Required commit header: type(scope): description\n' >&2
    exit 1
fi
