-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
46 lines (32 loc) · 1.03 KB
/
justfile
File metadata and controls
46 lines (32 loc) · 1.03 KB
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
43
44
45
default:
@just --list
# Development workflows
setup:
uv sync --all-extras
lint:
uv run ruff check .
typecheck:
uv run ty check
test:
uv run pytest -q
check: lint typecheck test
# Toolkit corpus workflows
corpus-build:
uv run python scripts/build_recipe_db.py build
corpus-list-queries:
uv run python scripts/build_recipe_db.py list-queries
corpus-query query_name="top_recipe_names" limit="25":
uv run python scripts/build_recipe_db.py query {{query_name}} --limit {{limit}} --format markdown
corpus-lint:
uv run python scripts/build_recipe_db.py lint --format markdown
corpus-refactor-plan:
uv run python scripts/build_recipe_db.py refactor --format markdown
corpus-refactor-apply:
uv run python scripts/build_recipe_db.py refactor --apply --format markdown
corpus-refactor-apply-no-validate:
uv run python scripts/build_recipe_db.py refactor --apply --no-validate --format markdown
demo-workflow:
just corpus-build
just corpus-query
just corpus-lint
just corpus-refactor-plan