Nanobit commited on
Commit
83d2920
1 Parent(s): d011422

Add bandit

Browse files
Files changed (2) hide show
  1. .bandit +3 -0
  2. .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
+ ]