-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (31 loc) · 856 Bytes
/
Makefile
File metadata and controls
42 lines (31 loc) · 856 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.PHONY: install test typecheck format-check format lint build ci ci-fix release-dry-run
# One-time setup: install Python (if needed) and dependencies
install:
uv sync --dev
# Run tests
test:
uv run pytest tests
# Type check
typecheck:
uv run ty check src
# Check formatting (no write)
format-check:
uv run ruff format src tests --check
# Apply formatting
format:
uv run ruff format src tests
# Lint (with auto-fix)
lint:
uv run ruff check src tests
lint-fix:
uv run ruff check src tests --fix --unsafe-fixes
# Build package
build:
uv build
# Full CI pipeline (same order as .github/workflows/ci.yml)
ci: install test typecheck format-check lint build
# Apply format and lint fixes (no --check)
ci-fix: format lint-fix
# Show next version from conventional commits (no tag/commit)
release-dry-run:
uv run semantic-release --noop version