Skip to content

Commit 68b9a26

Browse files
committed
Add /docs/ and setup.py to security target exclusions for python
1 parent 0a6d001 commit 68b9a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/python/Makefile.security

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BANDIT=$(call which, bandit)
22
BANDIT_FLAGS=-ll -ii
33

4-
PYTHON_SECURITY_TARGETS?=$(shell find . $(PYTHON_TARGETS_FIND_FLAGS) -not -path "*/tests/*")
4+
PYTHON_SECURITY_TARGETS?=$(shell find . $(PYTHON_TARGETS_FIND_FLAGS) -not -path "*/tests/*" -not -path "*/docs/*" -not -name "setup.py")
55

66

77
.PHONY: python/scan/targets

0 commit comments

Comments
 (0)