From aabe00fd11737751793963cc82bdc61f2b33fd46 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sun, 3 Jul 2022 17:44:51 +0200 Subject: [PATCH] Add bandit --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7d17bbf..c153a14 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +exclude: advlabdb/templates/admin/ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 @@ -27,3 +28,8 @@ repos: rev: 5.10.1 hooks: - id: isort + + - repo: https://github.com/PyCQA/bandit + rev: 1.7.4 + hooks: + - id: bandit