home
·
contact
·
privacy
projects
/
plomtask
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c399a
)
In pre-commit hook, re-instate deletion of test DB files.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 30 May 2024 04:11:32 +0000
(06:11 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 30 May 2024 04:11:32 +0000
(06:11 +0200)
scripts/pre-commit
patch
|
blob
|
history
diff --git
a/scripts/pre-commit
b/scripts/pre-commit
index eec2db4ef487ef11f0fe2152cb24412bf6a2ebe1..19ec8061817e141735a87d04c8da7ef29f7108d7 100755
(executable)
--- 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