From 987ea231ab1883dd86aa6ad8692f5166fcc61d48 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Mon, 30 Jan 2023 19:15:29 +0000 Subject: [PATCH] Now that pre-commit runs under Py3.10, disable `B324:hashlib`. Signed-off-by: Pedro Algarvio --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8d4ecbbd05c..3620cebf885 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1131,7 +1131,7 @@ repos: - id: bandit alias: bandit-salt name: Run bandit against Salt - args: [--silent, -lll, --skip, B701] + args: [--silent, -lll, --skip, "B701,B324"] exclude: > (?x)^( templates/.*| @@ -1145,7 +1145,7 @@ repos: - id: bandit alias: bandit-tests name: Run bandit against the test suite - args: [--silent, -lll, --skip, B701] + args: [--silent, -lll, --skip, "B701,B324"] files: ^tests/.* exclude: ^tests/minionswarm\.py additional_dependencies: ['importlib_metadata<5']