X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance2?a=blobdiff_plain;f=scripts%2Fpre-commit;h=eec2db4ef487ef11f0fe2152cb24412bf6a2ebe1;hb=a1c399aa563b6e457c33823c3a36e005e597d5ef;hp=6f84c41524e31d1aabd689c71dd37550e094ca0c;hpb=5e3c633f1994329297999899790e69d28516934b;p=plomtask diff --git a/scripts/pre-commit b/scripts/pre-commit index 6f84c41..eec2db4 100755 --- a/scripts/pre-commit +++ b/scripts/pre-commit @@ -9,5 +9,8 @@ for dir in $(echo '.' 'plomtask' 'tests'); do python3 -m pylint ${dir}/*.py done echo "Running unittest on tests/." -python3 -m unittest tests/*.py +set +e +unittest-parallel -t . -s tests/ -p '*.py' +# rm test_db:*.* +set -e exit 0