diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 3f49670..7f06559 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -21,6 +21,7 @@ docker run --rm \ -e STAGED_FILES="$STAGED" \ -u 1001:1001 \ -e PIP_DISABLE_PIP_VERSION_CHECK=1 \ + -e PIP_NO_CACHE_DIR=1 \ python:3.12-slim \ sh -c "python -m venv /tmp/venv && /tmp/venv/bin/pip install --quiet bandit && /tmp/venv/bin/python scripts/security_check.py"