From 43bd7e8b7a88edf7f5886604d102d52c02980cf0 Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Tue, 4 Aug 2026 09:13:56 +0000 Subject: [PATCH] Remove bandit tox env and unnecessary bandit args Remove the bandit tox env superseded by the pre-commit hook. Remove --skip=B113 from bandit pre-commit hook (not needed). Move hadolint to end of pre-commit config to prevent its docker dependency from blocking other hooks. Assisted-by: Claude (Anthropic) --- tox.ini | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tox.ini b/tox.ini index e9a52b9c..b5616a51 100644 --- a/tox.ini +++ b/tox.ini @@ -45,16 +45,6 @@ commands = --cov-report=html \ {posargs} -[testenv:bandit] -commands = - uvx --with bandit \ - bandit \ - # B113:request_without_timeout is broken: - # https://github.com/PyCQA/bandit/issues/996 - --skip B113 \ - --exclude functional-tests,greenwave/tests \ - --recursive greenwave - [testenv:semgrep] commands = uvx --with semgrep \