-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (31 loc) · 824 Bytes
/
Copy pathMakefile
File metadata and controls
44 lines (31 loc) · 824 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: verify fix lint format format-check type-check install test test-cov test-matrix test-matrix-cov
# Verify - check everything without making changes
verify: lint format-check type-check
# Fix - automatically fix what can be fixed
fix:
uv run ruff check --fix .
uv run ruff format .
# Individual targets
lint:
uv run ruff check .
format-check:
uv run ruff format --check .
format:
uv run ruff format .
type-check:
uv run ty check
# Install all dependencies
install:
uv sync --all-groups
# Run tests
test:
uv run pytest tests/ -v
# Run tests with coverage
test-cov:
uv run pytest --cov --cov-report=xml --cov-report=term-missing
# Run tests across all Python versions
test-matrix:
uv run hatch test
# Run tests with coverage across all Python versions
test-matrix-cov:
uv run hatch test --cover