mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
|
- id: bandit
|
||||||
alias: bandit-salt
|
alias: bandit-salt
|
||||||
name: Run bandit against Salt
|
name: Run bandit against Salt
|
||||||
args: [--silent, -lll]
|
args: [--silent, -lll, --skip, B701]
|
||||||
exclude: >
|
exclude: >
|
||||||
(?x)^(
|
(?x)^(
|
||||||
templates/.*|
|
templates/.*|
|
||||||
|
@ -1164,7 +1164,7 @@ repos:
|
||||||
- id: bandit
|
- id: bandit
|
||||||
alias: bandit-tests
|
alias: bandit-tests
|
||||||
name: Run bandit against the test suite
|
name: Run bandit against the test suite
|
||||||
args: [--silent, -lll]
|
args: [--silent, -lll, B701]
|
||||||
files: ^tests/.*
|
files: ^tests/.*
|
||||||
exclude: ^tests/minionswarm\.py
|
exclude: ^tests/minionswarm\.py
|
||||||
# <---- Security ---------------------------------------------------------------------------------------------------
|
# <---- Security ---------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue