-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (28 loc) · 768 Bytes
/
Copy pathMakefile
File metadata and controls
40 lines (28 loc) · 768 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
PYTHON := py -m uv
.PHONY: bootstrap test lint typecheck build api extension data train eval smoke
bootstrap:
$(PYTHON) sync --group dev
pnpm install
test:
$(PYTHON) run pytest
pnpm test
lint:
$(PYTHON) run ruff check .
pnpm lint
typecheck:
$(PYTHON) run mypy .
pnpm typecheck
build:
pnpm build
api:
$(PYTHON) run python scripts/run_api.py --reload
extension:
pnpm --filter @truthlens/extension build
data:
$(PYTHON) run python scripts/run_truthlens_module.py truthlens_trainer.pipeline
train:
$(PYTHON) run python scripts/run_truthlens_module.py truthlens_trainer.train
eval:
$(PYTHON) run python scripts/run_truthlens_module.py truthlens_trainer.simulate
smoke:
$(PYTHON) run python scripts/run_truthlens_module.py truthlens_trainer.smoke