-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (19 loc) · 739 Bytes
/
Copy pathMakefile
File metadata and controls
27 lines (19 loc) · 739 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
26
27
.PHONY: install lint format typecheck test check clean
install: ## Sync dev environment
uv sync --group dev
lint: ## Ruff lint + format check
uv run ruff check .
uv run ruff format --check .
format: ## Auto-fix lint and formatting
uv run ruff check --fix .
uv run ruff format .
typecheck: ## mypy --strict
uv run mypy
test: ## Run test suite with coverage
uv run pytest
readme: ## Regenerate the README catalog table
uv run python -m design_patterns.readme_table
check: lint typecheck test ## Everything CI runs
uv run python -m design_patterns.readme_table --check
clean:
rm -rf .pytest_cache .mypy_cache .ruff_cache .coverage htmlcov dist build