summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck6
1 files changed, 6 insertions, 0 deletions
diff --git a/check b/check
index d227565..03515b3 100755
--- a/check
+++ b/check
@@ -10,6 +10,8 @@ then
exit 0
fi
+export PYTHONDEVMODE=1
+
SUBCMD=$1
shift 1
@@ -23,10 +25,14 @@ case $SUBCMD in
;;
"qa")
flake8 --select=E,F,W,C90,E123 --ignore=W503 .
+ isort --check-only --diff .
;;
"typecheck")
mypy hazwaz
;;
+ "static")
+ bandit --recursive --number=3 -lll -iii .
+ ;;
*)
echo "No such subcommand $SUBCMD"
;;