Add bandit

This commit is contained in:
NanoCode012
2023-05-29 22:25:59 +09:00
parent d011422200
commit 83d29209f7
2 changed files with 11 additions and 0 deletions

3
.bandit Normal file
View File

@@ -0,0 +1,3 @@
[bandit]
exclude = tests
skips = B101

View File

@@ -32,3 +32,11 @@ repos:
[
'types-PyYAML',
]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
hooks:
- id: bandit
args: [
'--ini',
'.bandit',
]