mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 17:20:19 +00:00
Now that pre-commit runs under Py3.10, disable B324:hashlib
.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
788fcd954c
commit
987ea231ab
1 changed files with 2 additions and 2 deletions
|
@ -1131,7 +1131,7 @@ repos:
|
|||
- id: bandit
|
||||
alias: bandit-salt
|
||||
name: Run bandit against Salt
|
||||
args: [--silent, -lll, --skip, B701]
|
||||
args: [--silent, -lll, --skip, "B701,B324"]
|
||||
exclude: >
|
||||
(?x)^(
|
||||
templates/.*|
|
||||
|
@ -1145,7 +1145,7 @@ repos:
|
|||
- id: bandit
|
||||
alias: bandit-tests
|
||||
name: Run bandit against the test suite
|
||||
args: [--silent, -lll, --skip, B701]
|
||||
args: [--silent, -lll, --skip, "B701,B324"]
|
||||
files: ^tests/.*
|
||||
exclude: ^tests/minionswarm\.py
|
||||
additional_dependencies: ['importlib_metadata<5']
|
||||
|
|
Loading…
Add table
Reference in a new issue