X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=scripts%2Fpre-commit;fp=scripts%2Fpre-commit;h=eec2db4ef487ef11f0fe2152cb24412bf6a2ebe1;hb=a1c399aa563b6e457c33823c3a36e005e597d5ef;hp=e4493a6f34eb279064d6e49e23ea02039f8f4e06;hpb=ad957773a676d94f523199e7fc46fa416224a09f;p=plomtask
diff --git a/scripts/pre-commit b/scripts/pre-commit
index e4493a6..eec2db4 100755
--- a/scripts/pre-commit
+++ b/scripts/pre-commit
@@ -10,7 +10,7 @@ for dir in $(echo '.' 'plomtask' 'tests'); do
done
echo "Running unittest on tests/."
set +e
-python3 -m unittest tests/*.py
-rm test_db:*.*
+unittest-parallel -t . -s tests/ -p '*.py'
+# rm test_db:*.*
set -e
exit 0