From aed0ea894a6aed5a00c87fc7af3fdf662a353de0 Mon Sep 17 00:00:00 2001 From: PGijsbers Date: Wed, 21 Feb 2024 10:33:52 +0100 Subject: [PATCH] Specify directory to skip assert_used for Bandit differently See https://github.com/PyCQA/bandit/issues/1106 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6edaa05..a747c9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ docs = [ "Bug Tracker" = "https://github.com/openml/server-api/issues" [tool.bandit.assert_used] -skips = ["tests/*"] +skips = ["./tests/*"] [tool.black] line-length = 100