mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 17:20:19 +00:00
Bandit does not read .bandit
when files are passed.
See https://github.com/PyCQA/bandit/issues/332
This commit is contained in:
parent
0453b7ac7e
commit
fbdd6478d1
1 changed files with 2 additions and 2 deletions
|
@ -1151,7 +1151,7 @@ repos:
|
|||
- id: bandit
|
||||
alias: bandit-salt
|
||||
name: Run bandit against Salt
|
||||
args: [--silent, -lll]
|
||||
args: [--silent, -lll, --skip, B701]
|
||||
exclude: >
|
||||
(?x)^(
|
||||
templates/.*|
|
||||
|
@ -1164,7 +1164,7 @@ repos:
|
|||
- id: bandit
|
||||
alias: bandit-tests
|
||||
name: Run bandit against the test suite
|
||||
args: [--silent, -lll]
|
||||
args: [--silent, -lll, B701]
|
||||
files: ^tests/.*
|
||||
exclude: ^tests/minionswarm\.py
|
||||
# <---- Security ---------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue