chore(security): replace safety with osv-scanner (#11167)

This commit is contained in:
Pepe Fagoaga
2026-05-14 14:35:09 +02:00
committed by GitHub
parent dcf91ef252
commit 3410fc927a
13 changed files with 403 additions and 443 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ fi
echo ""
# Full setup requires uv for system hooks (pylint, bandit, safety, vulture, trufflehog)
# Full setup requires uv for system hooks (pylint, bandit, vulture, trufflehog)
# These are installed as Python dev dependencies and used by local hooks in .pre-commit-config.yaml
if command -v uv &>/dev/null && [ -f "pyproject.toml" ]; then
if uv run prek --version &>/dev/null 2>&1; then
@@ -50,7 +50,7 @@ elif command -v prek &>/dev/null; then
prek install --overwrite
echo ""
echo -e "${YELLOW}⚠️ Warning: Some hooks require Python tools installed via uv:${NC}"
echo -e " pylint, bandit, safety, vulture, trufflehog"
echo -e " pylint, bandit, vulture, trufflehog"
echo -e " These hooks will be skipped unless you install them or run:"
echo -e " ${GREEN}uv sync${NC}"
else