mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-05-16 21:59:26 +00:00
ci(security): add Bandit pre-commit hook
This commit is contained in:
@@ -16,6 +16,15 @@ repos:
|
||||
rev: 6.0.1
|
||||
hooks:
|
||||
- id: isort
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: 1.8.3
|
||||
hooks:
|
||||
- id: bandit
|
||||
args:
|
||||
- -c=pyproject.toml
|
||||
- --severity-level=medium
|
||||
- --confidence-level=medium
|
||||
additional_dependencies: ['bandit[toml]']
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user