mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-07 14:58:56 +00:00
Add dependency scanning and optional dependency checks
This commit is contained in:
9
scripts/dependency_scan.sh
Executable file
9
scripts/dependency_scan.sh
Executable 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 "$@"
|
Reference in New Issue
Block a user