home · contact · privacy
Re-structure for unittest usage.
[plomtask] / scripts / pre-commit
index 9400e92d5e140340c679769d1173206741b5575a..813455cac8cd690224f6b48862b90a56c95bfe1e 100755 (executable)
@@ -1,6 +1,10 @@
 #!/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