-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (25 loc) · 694 Bytes
/
Makefile
File metadata and controls
35 lines (25 loc) · 694 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
.PHONY: install sync train play record mlflow lint format test clean
install:
uv sync --extra dev
sync:
uv sync
train:
uv run python scripts/train.py $(ARGS)
play:
uv run python scripts/play.py $(ARGS)
record:
uv run python scripts/record.py $(ARGS)
mlflow:
uv run mlflow ui --port 5000
lint:
uv run ruff check src/ tests/ scripts/
uv run ruff format --check src/ tests/ scripts/
format:
uv run ruff check --fix src/ tests/ scripts/
uv run ruff format src/ tests/ scripts/
test:
uv run pytest tests/ -v
clean:
rm -rf mlruns/ mlartifacts/ videos/ experiments/outputs/
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type d -name "*.egg-info" -exec rm -rf {} +