Skip to content

Commit c00f32a

Browse files
authored
Add excluded_paths to bandit.yml configuration
1 parent bd052aa commit c00f32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bandit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
# Report only issues of a given confidence level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)
4545
# confidence: # optional, default is UNDEFINED
4646
# comma-separated list of paths (glob patterns supported) to exclude from scan (note that these are in addition to the excluded paths provided in the config file) (default: .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg)
47-
# excluded_paths: # optional, default is DEFAULT
47+
excluded_paths: [tests, test*] # optional, default is DEFAULT
4848
# comma-separated list of test IDs to skip
4949
# skips: # optional, default is DEFAULT
5050
# path to a .bandit file that supplies command line arguments

0 commit comments

Comments
 (0)