Migrate bandit options to pyproject.toml
... so that these options can be used by different tools than tox/pre-commit more easily. Change-Id: If4d3c80bb0824594c671d89feef868f8cd059ceb Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -21,7 +21,7 @@ repos:
|
||||
rev: 1.8.6
|
||||
hooks:
|
||||
- id: bandit
|
||||
args: ['-x', 'tests']
|
||||
args: ['-c', 'pyproject.toml']
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.20.0
|
||||
hooks:
|
||||
|
||||
@@ -34,3 +34,6 @@ Repository = "https://opendev.org/openstack/oslo.vmware"
|
||||
packages = [
|
||||
"oslo_vmware"
|
||||
]
|
||||
|
||||
[tool.bandit]
|
||||
exclude_dirs = ["tests"]
|
||||
|
||||
Reference in New Issue
Block a user