#!/usr/bin/env bash
# Lint the commit message against Conventional Commits.
# The linter is dependency-free Python — see scripts/lint_commit_msg.py for why not commitlint.
set -euo pipefail
REPO_ROOT="$(git rev-parse --show-toplevel)"
exec python3 "$REPO_ROOT/scripts/lint_commit_msg.py" "$1"
