From 86f59454ea64d67c1dc46292799fb3033b27e1d5 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Fri, 4 Jan 2019 09:32:00 +0100 Subject: [PATCH] [pre-commit] Added bandit bandit checks for common code security issues --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62928139..d492ecc8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,4 +14,10 @@ repos: - id: check-yaml exclude: meta.yaml - id: check-added-large-files + - id: check-docstring-first - id: flake8 +- repo: https://github.com/PyCQA/bandit + rev: 'master' # Update me! + hooks: + - id: bandit + exclude: beat/editor/test -- GitLab