Add bandit pre-commit hook to check for security issues

This commit is contained in:
Cosmin Ciocan
2024-01-12 18:33:43 +01:00
parent be6b7a01d6
commit 063fe0015c
2 changed files with 12 additions and 3 deletions
+3 -1
View File
@@ -75,7 +75,9 @@ exclude_dirs = ["build","dist","tests","scripts"]
number = 4
recursive = true
targets = "src"
skips = ["B101", "B311"]
# B404 and B603 are skipped because the user can already run any arbitrary
# command on their jupyter server
skips = ["B101", "B311", "B404", "B603"]
[tool.black]
line-length = 79