From 5198fd313bda95838be290d17c748e0afa3bec34 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Tue, 22 Apr 2025 16:39:33 +0200 Subject: [PATCH] build: :hammer: add bandit security checks to justfile --- justfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 2b32db7..bcd1e93 100644 --- a/justfile +++ b/justfile @@ -2,7 +2,7 @@ just --list --unsorted # Run all build-related recipes in the justfile -run-all: install-deps format-python check-python test-python check-commits build-website +run-all: install-deps format-python check-python test-python check-security check-commits build-website # Install Python package dependencies install-deps: @@ -60,3 +60,7 @@ check-commits: else echo "Can't either be on ${branch_name} or have more than ${number_of_commits}." fi + +# Run basic security checks on the package +check-security: + uv run bandit -r src/