mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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/.*|
|
salt/ext/.*|
|
||||||
tests/.*
|
tests/.*
|
||||||
)$
|
)$
|
||||||
|
additional_dependencies: ['importlib_metadata<5']
|
||||||
- repo: https://github.com/PyCQA/bandit
|
- repo: https://github.com/PyCQA/bandit
|
||||||
rev: "1.7.4"
|
rev: "1.7.4"
|
||||||
hooks:
|
hooks:
|
||||||
|
@ -1158,6 +1159,7 @@ repos:
|
||||||
args: [--silent, -lll, --skip, B701]
|
args: [--silent, -lll, --skip, B701]
|
||||||
files: ^tests/.*
|
files: ^tests/.*
|
||||||
exclude: ^tests/minionswarm\.py
|
exclude: ^tests/minionswarm\.py
|
||||||
|
additional_dependencies: ['importlib_metadata<5']
|
||||||
# <---- Security ---------------------------------------------------------------------------------------------------
|
# <---- Security ---------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
# ----- Pre-Commit ------------------------------------------------------------------------------------------------>
|
# ----- Pre-Commit ------------------------------------------------------------------------------------------------>
|
||||||
|
|
Loading…
Add table
Reference in a new issue