home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-structure for unittest usage.
[plomtask]
/
scripts
/
pre-commit
diff --git
a/scripts/pre-commit
b/scripts/pre-commit
index 9400e92d5e140340c679769d1173206741b5575a..813455cac8cd690224f6b48862b90a56c95bfe1e 100755
(executable)
--- a/
scripts/pre-commit
+++ b/
scripts/pre-commit
@@
-1,6
+1,10
@@
#!/bin/sh
set -e
#!/bin/sh
set -e
-python3 -m mypy *.py
-python3 -m flake8 *.py
-python3 -m pylint *.py
+python3 -m mypy plomtask/*.py
+python3 -m flake8 plomtask/*.py
+python3 -m pylint plomtask/*.py
+python3 -m mypy tests/*.py
+python3 -m flake8 tests/*.py
+python3 -m pylint tests/*.py
+python3 -m unittest tests/*.py
exit 0
exit 0