home
·
contact
·
privacy
projects
/
taskplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ca3f8f
)
Disallow commit without at least passing unit tests.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 10 Feb 2025 15:22:26 +0000
(16:22 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 10 Feb 2025 15:22:26 +0000
(16:22 +0100)
scripts/pre-commit
patch
|
blob
|
history
diff --git
a/scripts/pre-commit
b/scripts/pre-commit
index 414cb517c9d7daee201bec91789dc37be7f28e75..532f2dd180913a9c0d4f0ba897be5f25cd8fe84b 100755
(executable)
--- a/
scripts/pre-commit
+++ b/
scripts/pre-commit
@@
-8,4
+8,5
@@
for dir in $DIRS; do
done
done
echo "Running unittest-parallel on tests/."
+set -e
unittest-parallel -t . -s tests/ -p '*.py'