home · contact · privacy
Fix pre-commit script failing to delete test DBs based on new filename format.
[plomtask] / scripts / pre-commit
index 19ec8061817e141735a87d04c8da7ef29f7108d7..7abafb9cd9de85b4790b659cf2cc22fa13353db7 100755 (executable)
@@ -9,8 +9,8 @@ for dir in $(echo '.' 'plomtask' 'tests'); do
     python3 -m pylint ${dir}/*.py
 done
 echo "Running unittest-parallel on tests/."
-set +e
 unittest-parallel -t . -s tests/ -p '*.py'
-rm test_db:*.*
+set +e
+rm test_db:*
 set -e
 exit 0