-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathjustfile
More file actions
38 lines (29 loc) · 980 Bytes
/
justfile
File metadata and controls
38 lines (29 loc) · 980 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
# Install all dependencies
install:
uv sync --all-groups
# Run tests
test *FLAGS:
uv run --group test pytest {{FLAGS}}
# Run tests with coverage
test-cov *FLAGS:
uv run --group test pytest --nbmake --cov=src --cov=tests --cov-report=xml -n auto {{FLAGS}}
# Run type checking
typing:
uv run --group typing --group test --isolated ty check
# Run linting
lint:
uvx prek run -a
# Run all checks (format, lint, typing, test)
check: lint typing test
# Build documentation
docs:
uv run --group docs sphinx-build docs/source docs/build
# Serve documentation with auto-reload
docs-serve:
uv run --group docs sphinx-autobuild docs/source docs/build
# Run tests with lowest dependency resolution (like CI)
test-lowest:
uv run --python 3.10 --group test --resolution lowest-direct pytest --nbmake
# Run tests with highest dependency resolution (like CI)
test-highest:
uv run --python 3.14 --group test --resolution highest pytest --nbmake -n auto