mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-10-04 12:36:31 +08:00
23 lines
448 B
Makefile
23 lines
448 B
Makefile
.PHONY: lint format install-dev serve test coverage
|
|
|
|
install-dev:
|
|
uv pip install -e ".[dev]" && uv pip install -e ".[test]"
|
|
|
|
format:
|
|
uv run black --preview .
|
|
|
|
lint:
|
|
uv run black --check .
|
|
|
|
serve:
|
|
uv run server.py --reload
|
|
|
|
test:
|
|
uv run pytest tests/
|
|
|
|
langgraph-dev:
|
|
uvx --refresh --from "langgraph-cli[inmem]" --with-editable . --python 3.12 langgraph dev --allow-blocking
|
|
|
|
coverage:
|
|
uv run pytest --cov=src tests/ --cov-report=term-missing
|