X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=scripts%2Fpre-commit;fp=scripts%2Fpre-commit;h=a053262bcb0c49ea34392c4b11a779e8fe2b4431;hb=fe9b4953b3919439e8d261e76eae14349154c055;hp=0000000000000000000000000000000000000000;hpb=e230cf6b1fb49d03158ccf3f9db7601ed863bf95;p=plomtask diff --git a/scripts/pre-commit b/scripts/pre-commit new file mode 100755 index 0000000..a053262 --- /dev/null +++ b/scripts/pre-commit @@ -0,0 +1,6 @@ +#!/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 +exit 0