From 91494882593269c4b9e4698cd542db2447de9e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Goldit=C3=A9?= Date: Fri, 24 Nov 2023 17:08:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Ignore=20B311=20bandit=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pre-commit-checks.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pre-commit-checks.sh b/pre-commit-checks.sh index 5cc69bc..d1be125 100644 --- a/pre-commit-checks.sh +++ b/pre-commit-checks.sh @@ -21,8 +21,8 @@ pytest --cov-report term-missing --cov=./template tests/ check_output "Unit tests" echo "**************** Bandit ****************" -bandit -r --skip B605,B607 . > /dev/null -check_output "Unit tests" +bandit -r --skip B605,B607,B311 . > /dev/null +check_output "Bandit tests" echo "**************** Typing ****************" mypy .