EmboFlow/.githooks/pre-commit

8 lines
160 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
repo_root="$(git rev-parse --show-toplevel)"
cd "$repo_root"
python3 scripts/check_doc_code_sync.py . --staged --strict