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 e1cfb733180349084416dae48f301d795815ffc2..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 --good-names 'do_GET,do_POST' *.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