#!/usr/bin/env bash # # Pre-push gate: run the local CI checks (ruff + mypy + pytest) before allowing # a push. Blocks the push on any failure. # # Enable in a fresh clone with: # git config core.hooksPath .githooks # Bypass a single push with: # git push --no-verify # exec "$(git rev-parse --show-toplevel)/scripts/check.sh"