home · contact · privacy
In pre-commit hook, re-instate deletion of test DB files.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 30 May 2024 04:11:32 +0000 (06:11 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 30 May 2024 04:11:32 +0000 (06:11 +0200)
scripts/pre-commit

index eec2db4ef487ef11f0fe2152cb24412bf6a2ebe1..19ec8061817e141735a87d04c8da7ef29f7108d7 100755 (executable)
@@ -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