forked from vllm-project/agentic-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (17 loc) · 707 Bytes
/
Makefile
File metadata and controls
25 lines (17 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: help install lint format fix test pre-commit clean
help: ## Show this help message
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
install: ## Install dependencies with uv
uv sync
lint: ## Run ruff linter
uv run ruff check .
format: ## Run ruff formatter
uv run ruff format .
fix: ## Run ruff linter with auto-fix
uv run ruff check --fix .
test: ## Run tests with pytest
uv run pytest
pre-commit: ## Run pre-commit hooks on all files
pre-commit run --all-files
clean: ## Remove build artifacts and caches
rm -rf __pycache__ **/__pycache__ .pytest_cache .mypy_cache .ruff_cache dist *.egg-info