#!/bin/sh
# Before commit: run Ruff checks on src/ and tests/.

set -e
cd "$(git rev-parse --show-toplevel)"

echo "Pre-commit: uv run ruff check src tests"
uv run ruff check src tests
