-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
34 lines (26 loc) · 856 Bytes
/
justfile
File metadata and controls
34 lines (26 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
# Install all dependencies
install:
uv sync --all-groups
# Run tests
test *args="":
uv run --group test pytest --cov=src --cov=tests --cov-report=xml {{args}}
# Run tests with lowest dependency resolution
test-lowest *args="":
uv run --group test --resolution lowest-direct pytest {{args}}
# Run tests with highest dependency resolution
test-highest *args="":
uv run --group test --resolution highest pytest {{args}}
# Run type checking
typing:
uv run --group typing --group test --isolated ty check
# Run linting and formatting
lint:
uvx prek run -a
# 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 all checks (format, lint, typing, test)
check: lint typing test