#!/usr/bin/env bash
set -euo pipefail
source "$(dirname "$0")/activate"

echo "=== Rust format check ==="
cargo fmt --check

echo "=== Python format check ==="
ruff format --check python/ tests/

echo "All formatted correctly."
