From dca789e8eb805df4dcf3309599aa136427de5c15 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Fri, 11 Mar 2022 18:05:00 +0100 Subject: Improvements to the check script --- check | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'check') 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" ;; -- cgit v1.2.3