Skip to content

Commit c42b80f

Browse files
Felipe Campos PenhaFelipe Campos Penha
authored andcommitted
make format recipe.
1 parent 57da9c6 commit c42b80f

File tree

1 file changed

+15
-9
lines changed
  • initiatives/genai_red_team_handbook/exploitation/example

1 file changed

+15
-9
lines changed

initiatives/genai_red_team_handbook/exploitation/example/Makefile

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,23 @@ SANDBOX_DIR := ../../sandboxes/llm_local
44

55
# Default target
66
help:
7-
@echo "Red Team Example - Available Commands:"
8-
@echo ""
9-
@echo " make setup - Build and start the local LLM sandbox"
10-
@echo " make attack - Run the adversarial attack script"
11-
@echo " make stop - Stop and remove the sandbox container"
12-
@echo " make all - Run setup, attack, and stop in sequence"
13-
@echo ""
14-
@echo "Environment:"
15-
@echo " - Sandbox Directory: $(SANDBOX_DIR)"
7+
@echo "Red Team Example - Available Commands:"\
8+
@echo ""\
9+
@echo " make setup - Build and start the local LLM sandbox"\
10+
@echo " make attack - Run the adversarial attack script"\
11+
@echo " make stop - Stop and remove the sandbox container"\
12+
@echo " make all - Run setup, attack, and stop in sequence"\
13+
@echo " make format - Run code formatting (black, isort, mypy)"\
14+
@echo ""\
15+
@echo "Environment:"\
16+
@echo " - Sandbox Directory: $(SANDBOX_DIR)"\
1617
@echo ""
1718

19+
format:
20+
uv run black .
21+
uv run isort .
22+
uv run mypy .
23+
1824
setup:
1925
@echo "🚀 Setting up Red Team environment..."
2026
$(MAKE) -C $(SANDBOX_DIR) build up

0 commit comments

Comments
 (0)