Merge "Migrate bandit options to pyproject.toml"
This commit is contained in:
@@ -21,7 +21,7 @@ repos:
|
|||||||
rev: 1.8.6
|
rev: 1.8.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: bandit
|
- id: bandit
|
||||||
args: ['-x', 'tests']
|
args: ['-c', 'pyproject.toml']
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.20.0
|
rev: v3.20.0
|
||||||
hooks:
|
hooks:
|
||||||
|
@@ -45,3 +45,6 @@ e2 = "stevedore.tests.notfound:UnimportableExtension"
|
|||||||
packages = [
|
packages = [
|
||||||
"stevedore"
|
"stevedore"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.bandit]
|
||||||
|
exclude_dirs = ["tests"]
|
||||||
|
Reference in New Issue
Block a user