From feb7036b3f342562036a2ed7a83cbdf159e6dcb7 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Wed, 22 Jan 2025 16:45:20 +0400 Subject: [PATCH] Update .pre-commit-config.yaml --- template/.pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/template/.pre-commit-config.yaml b/template/.pre-commit-config.yaml index 821f9a5..b88a134 100644 --- a/template/.pre-commit-config.yaml +++ b/template/.pre-commit-config.yaml @@ -50,3 +50,10 @@ repos: hooks: - id: typos exclude: ^\.gitignore$ + + - repo: https://github.com/PyCQA/bandit + rev: 1.8.2 + hooks: + - id: bandit + args: ["-c", "pyproject.toml"] + additional_dependencies: ["bandit[toml]"]