diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-03-11 18:05:00 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-03-11 18:12:28 +0100 |
commit | dca789e8eb805df4dcf3309599aa136427de5c15 (patch) | |
tree | 1999055245f32ada0bdb4bd74a0988acab55fa01 /check | |
parent | a866b8ab9d81ebbea0bd43672d944d5cef1caf25 (diff) |
Improvements to the check script
Diffstat (limited to 'check')
-rwxr-xr-x | check | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" ;; |