Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -538,14 +538,19 @@ test-integration: setup-ollama ## Run integration tests (requires Ollama and DB)

lint: ## Run linters
@printf "$(BLUE)Running linters...$(NC)\n"
@uv run ruff check $(SRC_DIR)/ $(UI_DIR)/ || printf "$(YELLOW)ruff not installed, skipping$(NC)\n"
@if uv run ruff --version >/dev/null 2>&1; then uv run ruff check $(SRC_DIR)/ $(UI_DIR)/; else printf "$(YELLOW)ruff not installed, skipping$(NC)\n"; fi
@printf "$(GREEN)✓ Linting complete$(NC)\n"

format: ## Auto-format code
@printf "$(BLUE)Formatting code...$(NC)\n"
@uv run ruff format $(SRC_DIR)/ $(UI_DIR)/ || printf "$(YELLOW)ruff not installed, skipping$(NC)\n"
@if uv run ruff --version >/dev/null 2>&1; then uv run ruff format $(SRC_DIR)/ $(UI_DIR)/; else printf "$(YELLOW)ruff not installed, skipping$(NC)\n"; fi
@printf "$(GREEN)✓ Formatting complete$(NC)\n"

typecheck: ## Run typecheck
@printf "$(BLUE)Running typecheck...$(NC)\n"
@if uv run mypy --version >/dev/null 2>&1; then uv run mypy $(SRC_DIR)/ $(UI_DIR)/; else printf "$(YELLOW)mypy not installed, skipping$(NC)\n"; fi
@printf "$(GREEN)✓ Typecheck complete$(NC)\n"

##@ Cleanup

clean: ## Clean generated files and caches
Expand Down
Loading