-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
41 lines (33 loc) · 884 Bytes
/
Copy pathJustfile
File metadata and controls
41 lines (33 loc) · 884 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
default:
@just --list
# Install readback as a global uv tool
[group('run')]
install:
uv tool install . --force
# Convert a file to a WAV output file
[group('run')]
speak file output voice="af_heart" speed="1.0":
uv run readback "{{file}}" -o "{{output}}" --voice "{{voice}}" --speed "{{speed}}"
# Stream a file to ffplay (starts playing before synthesis completes)
[group('run')]
play file voice="af_heart" speed="1.0":
uv run readback "{{file}}" --play --voice "{{voice}}" --speed "{{speed}}"
# Run the test suite
[group('dev')]
test *args:
uv run python -m pytest {{args}}
# Lint with ruff
[group('dev')]
lint:
uv run ruff check .
# Type-check with basedpyright
[group('dev')]
typecheck:
uv run python -m basedpyright
# Format with ruff
[group('dev')]
fmt:
uv run ruff format .
# Run all quality checks
[group('dev')]
qa: test lint typecheck