-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (15 loc) · 709 Bytes
/
Copy pathMakefile
File metadata and controls
21 lines (15 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PHONY: lint format test test-integ check help
help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
lint: ## Run linters (ruff check + ruff format check + ty)
uv run ruff check src/ tests/
uv run ruff format --check src/ tests/
uv run ty check src/
format: ## Auto-fix formatting and lint issues
uv run ruff format src/ tests/
uv run ruff check --fix src/ tests/
test: ## Run unit tests (excludes integration)
uv run python -m pytest -m "not integration"
test-integ: ## Run integration tests
uv run python -m pytest -m integration
check: lint test ## Run all checks (lint + unit tests)