From: Christian Heller Date: Thu, 30 May 2024 04:11:32 +0000 (+0200) Subject: In pre-commit hook, re-instate deletion of test DB files. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Bdb.prefix%7D%7D/test?a=commitdiff_plain;h=f8b17d94a1867e7cc01782c9301ccb718de0f9c2;p=plomtask In pre-commit hook, re-instate deletion of test DB files. --- diff --git a/scripts/pre-commit b/scripts/pre-commit index eec2db4..19ec806 100755 --- a/scripts/pre-commit +++ b/scripts/pre-commit @@ -8,9 +8,9 @@ for dir in $(echo '.' 'plomtask' 'tests'); do echo "Running pylint on ${dir}/ …" python3 -m pylint ${dir}/*.py done -echo "Running unittest on tests/." +echo "Running unittest-parallel on tests/." set +e unittest-parallel -t . -s tests/ -p '*.py' -# rm test_db:*.* +rm test_db:*.* set -e exit 0