mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 17:20:19 +00:00
Fix bandit deps
See https://github.com/PyCQA/bandit/issues/956 for specific info, but without adding the additional_dependencies, the plugins fail to load for bandit, oops!
This commit is contained in:
parent
a543c0043f
commit
d6f3f8fe48
1 changed files with 2 additions and 0 deletions
|
@ -1149,6 +1149,7 @@ repos:
|
|||
salt/ext/.*|
|
||||
tests/.*
|
||||
)$
|
||||
additional_dependencies: ['importlib_metadata<5']
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: "1.7.4"
|
||||
hooks:
|
||||
|
@ -1158,6 +1159,7 @@ repos:
|
|||
args: [--silent, -lll, --skip, B701]
|
||||
files: ^tests/.*
|
||||
exclude: ^tests/minionswarm\.py
|
||||
additional_dependencies: ['importlib_metadata<5']
|
||||
# <---- Security ---------------------------------------------------------------------------------------------------
|
||||
|
||||
# ----- Pre-Commit ------------------------------------------------------------------------------------------------>
|
||||
|
|
Loading…
Add table
Reference in a new issue