Add dependency scanning and optional dependency checks

This commit is contained in:
thePR0M3TH3AN
2025-08-05 21:04:50 -04:00
parent c2d80aa438
commit 68eaa34d76
5 changed files with 90 additions and 56 deletions

9
scripts/dependency_scan.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
# Run pip-audit against the pinned requirements
if ! command -v pip-audit >/dev/null 2>&1; then
python -m pip install --quiet pip-audit
fi
pip-audit -r requirements.lock "$@"