Add bandit
Browse files- .bandit +3 -0
- .pre-commit-config.yaml +8 -0
.bandit
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[bandit]
|
| 2 |
+
exclude = tests
|
| 3 |
+
skips = B101
|
.pre-commit-config.yaml
CHANGED
|
@@ -32,3 +32,11 @@ repos:
|
|
| 32 |
[
|
| 33 |
'types-PyYAML',
|
| 34 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
[
|
| 33 |
'types-PyYAML',
|
| 34 |
]
|
| 35 |
+
- repo: https://github.com/PyCQA/bandit
|
| 36 |
+
rev: 1.7.5
|
| 37 |
+
hooks:
|
| 38 |
+
- id: bandit
|
| 39 |
+
args: [
|
| 40 |
+
'--ini',
|
| 41 |
+
'.bandit',
|
| 42 |
+
]
|