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']
|
||||
args: ['-c', 'pyproject.toml']
|
||||
- repo: https://github.com/PyCQA/doc8
|
||||
rev: v2.0.0
|
||||
hooks:
|
||||
|
@@ -45,3 +45,6 @@ threading = [
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["oslo_service"]
|
||||
|
||||
[tool.bandit]
|
||||
exclude_dirs = ["tests"]
|
||||
|
Reference in New Issue
Block a user