From 6f5d15a9784fe8e00de69167cc7d2aad130d47a0 Mon Sep 17 00:00:00 2001 From: fangzli Date: Mon, 14 Dec 2020 16:08:01 -0800 Subject: [PATCH] remove B322 (#1) --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index c3fda29..4f920ba 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,7 @@ # NOTE: Bandit's file exclusion seems to be kind of busted: https://github.com/PyCQA/bandit/issues/488 # Using Git to exclude test files instead for the PR check. -BANDIT_CONFIGSTRING="--verbose -s B322" #Do not support Python2 +BANDIT_CONFIGSTRING="--verbose" FULLRUN_TARGET=${TARGET_DIR:-""} EXCLUDED=${BANDIT_EXCLUDE:-"*/tests/*,*/settings/local.py"} MSG_TEMPLATE="::error file={relpath},line={line}::[{test_id}] {msg}%0A(Severity: {severity}, Confidence: {confidence})%0AMore info: https://bandit.readthedocs.io/en/latest/search.html?q={test_id}"