X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;ds=inline;f=scripts%2Fpre-commit;h=813455cac8cd690224f6b48862b90a56c95bfe1e;hb=4546631ed7cc59f3e66a1902b28930f955b2b03f;hp=a053262bcb0c49ea34392c4b11a779e8fe2b4431;hpb=fe9b4953b3919439e8d261e76eae14349154c055;p=plomtask diff --git a/scripts/pre-commit b/scripts/pre-commit index a053262..813455c 100755 --- a/scripts/pre-commit +++ b/scripts/pre-commit @@ -1,6 +1,10 @@ #!/bin/sh set -e -python3 -m mypy task.py -python3 -m flake8 task.py -python3 -m pylint --good-names 'do_GET,do_POST' task.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