From 4853f0a386625ea3672508b4d7b6fcdce41b3ee6 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Wed, 22 Apr 2020 09:33:41 +0200 Subject: [PATCH] [pre-commit] Exclude tests and eggs folder for bandit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb2dfa1a6..f1497effd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,4 +21,4 @@ repos: rev: 'master' # Update me! hooks: - id: bandit - exclude: beat/editor/test + exclude: (beat/web/.*/tests|eggs/) -- GitLab