.PHONY: help install dev run test lint format clean docker-build docker-up docker-down help: ## Show this help message @echo 'Usage: make [target]' @echo '' @echo 'Available targets:' @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " %-20s %s\n", $$1, $$2}' $(MAKEFILE_LIST) install: ## Install production dependencies uv sync --frozen dev: ## Install development dependencies uv sync --frozen --all-extras run: ## Run the application locally uv run uvicorn main:app --reload --host 0.0.0.0 --port 8000 lint: ## Run linting checks uv run ruff check src/ format: ## Format code uv run ruff format src/ clean: ## Clean up generated files find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true find . -type f -name "*.pyc" -delete find . -type f -name "*.pyo" -delete find . -type d -name "*.egg-info" -exec rm -rf {} + 2>/dev/null || true find . -type d -name ".pytest_cache" -exec rm -rf {} + 2>/dev/null || true rm -rf build/ dist/ .coverage htmlcov/ docker-build: ## Build Docker image docker-compose build docker-up: ## Start services with Docker Compose docker-compose up -d docker-down: ## Stop services with Docker Compose docker-compose down docker-logs: ## Show Docker logs docker-compose logs -f check: lint ## Run all checks (lint)