precommit: Add helpful message (#4888)

This commit is contained in:
Ole Schütt 2026-02-27 16:43:22 +01:00 committed by GitHub
parent aaa93fa739
commit f04c6cb9c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,8 +12,19 @@ cat /var/tmp/precommit_server.logs
echo -e "\n========== Running Precommit Checks =========="
export CP2K_PRECOMMIT_SERVER="http://127.0.0.1:8080"
./precommit.py --no-cache --progressbar-wait=10
echo -e "\n"
EXIT_CODE=$?
if ((EXIT_CODE)); then
echo ""
echo "********************************************"
echo "* *"
echo "* O/ Try running ./make_pretty.sh *"
echo "* /| *"
echo "* / \ *"
echo "********************************************"
fi
echo -e "\n"
exit 0 # Prevent CI from overwriting precommit.py's summary message.
#EOF