-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (38 loc) · 1.41 KB
/
Copy pathMakefile
File metadata and controls
47 lines (38 loc) · 1.41 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
46
47
.PHONY: help install lint format test eval run trace clean
help:
@echo "earnings-edge project targets:"
@echo ""
@echo " make install Install dependencies (uv)"
@echo " make lint Check code style + type hints (ruff + mypy)"
@echo " make format Auto-format code (ruff)"
@echo " make test Run unit + integration tests (pytest)"
@echo " make eval Run eval suite (validates agents vs. baseline)"
@echo " make run Start the application (CLI or API)"
@echo " make trace Run with LangSmith + OpenTelemetry tracing"
@echo " make clean Remove build artifacts and caches"
@echo ""
install:
uv sync --all-extras
lint:
uv run ruff check src tests
uv run mypy src
format:
uv run ruff format src tests
uv run ruff check --fix src tests
test:
uv run pytest tests/ -v
eval:
uv run python evals/run.py
run:
uv run python -m agentic_app.main run
trace:
LANGSMITH_TRACING=true OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 uv run python -m agentic_app.main run
clean:
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name .coverage -delete
find . -type d -name .pytest_cache -exec rm -rf {} +
find . -type d -name .mypy_cache -exec rm -rf {} +
find . -type d -name .ruff_cache -exec rm -rf {} +
find . -type d -name dist -exec rm -rf {} +
find . -type d -name build -exec rm -rf {} +
find . -type d -name *.egg-info -exec rm -rf {} +