Skip to content

Commit

Permalink
Also ignore B603 globally
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Aug 8, 2023
1 parent 7dba1cf commit da396c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ UNITTEST_OPTS = --verbose
# Ignore bandit B404 errors. Any import of the subprocess module causes this
# error. We know what we are doing when we import that module and do not
# need to be warned.
BANDIT_SKIP = --skip B404
# Ignore bandit B603 errors. It is actually considered safer to invoke
# subprocess functions or constructors with shell=False, as is our standard
# custom. So B603 is essentially equivalent to B404 which we also ignore.
BANDIT_SKIP = --skip B404,B603

.PHONY: lint
lint:
Expand Down

0 comments on commit da396c6

Please sign in to comment.