-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
37 lines (29 loc) · 848 Bytes
/
Copy pathjustfile
File metadata and controls
37 lines (29 loc) · 848 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
default: install lint test
install:
uv lock --upgrade
uv sync --all-extras --frozen --group lint
lint:
uv run eof-fixer .
uv run ruff format
uv run ruff check --fix
uv run ty check
lint-ci:
uv run eof-fixer . --check
uv run ruff format --check
uv run ruff check --no-fix
uv run ty check
test *args:
uv run --no-sync pytest {{ args }}
test-ci:
uv run --no-sync pytest --cov=. --cov-report term-missing --cov-report xml
test-branch:
@just test --cov=. --cov-branch
# Auth via PyPI Trusted Publishing (OIDC); uv publish auto-detects the CI id-token.
publish:
rm -rf dist
uv version $GITHUB_REF_NAME
uv build
uv publish
# Strict local docs build (no deploy). Mirrors CI's link/strict checks.
docs-build:
uvx --with-requirements docs/requirements.txt mkdocs build --strict