.PHONY: venv setup check help: ## Display this help message @echo "Usage:" @echo " make " @echo "" @echo "Targets:" @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " %-20s %s\n", $$1, $$2}' $(MAKEFILE_LIST) setup: ## Create Python virtualenv and install dependencies @if [ ! -f .env ]; then cp .env.example .env; fi @if [ ! -d .venv ]; then python3 -m venv .venv; fi @if [ -d .venv ]; then . .venv/bin/activate && pip3 install -r requirements.txt; fi check: ## Check linting, formatting and types ruff check ruff format --check mypy config/master.cfg format: ## Autofix linting and formatting issues ruff check --fix ruff format docker: ## Spin up and force recreation of Docker containers docker compose up --force-recreate --detach