Merge "Migrate bandit options to pyproject.toml"
This commit is contained in:
@@ -21,7 +21,7 @@ repos:
|
||||
rev: 1.8.6
|
||||
hooks:
|
||||
- id: bandit
|
||||
args: ['-x', 'tests', '--skip', 'B113']
|
||||
args: ['-c', 'pyproject.toml']
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.20.0
|
||||
hooks:
|
||||
|
||||
@@ -49,3 +49,7 @@ https = "oslo_policy._external:HttpsCheck"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["oslo_policy"]
|
||||
|
||||
[tool.bandit]
|
||||
exclude_dirs = ["tests"]
|
||||
skips = ['B113']
|
||||
|
||||
Reference in New Issue
Block a user