Skip to content

Commit

Permalink
Install baseline bandit
Browse files Browse the repository at this point in the history
this version contains git and fixes the error:
[  ERROR ] Git not available, reinstall with baseline extra

This is the same fix as in atomic-reactor repo containerbuildsystem/atomic-reactor@1f46fbe

Also the quotes are neccessary to fix the shellcheck error:
In ./test.sh line 86:
  $RUN $PIP install bandit[baseline]
                          ^--------^ SC2102: Ranges can only match single chars (mentioned due to duplicates).

Signed-off-by: mkosiarc <mkosiarc@redhat.com>
  • Loading branch information
mkosiarc committed Aug 6, 2024
1 parent 7fa9813 commit adddfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ case ${ACTION} in
;;
"bandit")
setup_osbs
$RUN $PIP install bandit
$RUN $PIP install 'bandit[baseline]'
TEST_CMD="bandit-baseline -r osbs -ll -ii"
;;
*)
Expand Down

0 comments on commit adddfcd

Please sign in to comment.