make it mandatory

This commit is contained in:
Lucas Peter 2025-03-05 16:11:41 +01:00
parent 94db7760e2
commit a6eb7b8056
No known key found for this signature in database

View file

@ -13,7 +13,7 @@ ROOT_DIR=\$(git rev-parse --show-toplevel)
export PATH="\\\$PATH:\\\$ROOT_DIR/.tools"
# Lancer le check de formatage
"\\\$ROOT_DIR/.tools/format_code.sh" --dry-run --verbose --modified-only || exit 1
"\\\$ROOT_DIR/.tools/format_code.sh" --verbose --modified-only || exit 1
# Vérifier les modifications non poussées
git diff --cached --quiet || {