aboutsummaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2022-03-11 18:05:00 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2022-03-11 18:12:28 +0100
commitdca789e8eb805df4dcf3309599aa136427de5c15 (patch)
tree1999055245f32ada0bdb4bd74a0988acab55fa01 /check
parenta866b8ab9d81ebbea0bd43672d944d5cef1caf25 (diff)
Improvements to the check script
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"
;;