From 2b973b2695e9dedf8204fc4b6d7733765cdc24e4 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Mon, 25 Jul 2022 21:20:45 +0200 Subject: [PATCH] chore(api): don't scan tests files with bandit (#1989) --- api/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Makefile b/api/Makefile index 692bfe5ad..2d1b73c4b 100644 --- a/api/Makefile +++ b/api/Makefile @@ -5,7 +5,7 @@ include ../tools/python.mk PIP_INSTALL := --editable .[dev] PYLINT_ARG := libretime_api MYPY_ARG := libretime_api -BANDIT_ARG := libretime_api || true +BANDIT_ARG := --exclude '*/tests/*' libretime_api || true format: .format lint: .format-check .pylint .mypy .bandit