nl-sql / Makefile
liovina's picture
Deploy NL_SQL HEAD to HF Space
942050b verified
Raw
History Blame Contribute Delete
576 Bytes
.PHONY: install install-ui lint format type test all serve ui clean
install:
uv sync --extra dev
install-ui:
uv sync --extra dev --extra ui
lint:
uv run ruff check src tests scripts app
format:
uv run ruff format src tests scripts app
type:
uv run mypy src
test:
uv run pytest
all: lint format type test
serve:
uv run uvicorn nl_sql.api.main:app --reload --port 8000
ui:
uv run streamlit run app/streamlit_app.py
clean:
rm -rf .pytest_cache .mypy_cache .ruff_cache .coverage htmlcov dist build *.egg-info
find . -type d -name __pycache__ -exec rm -rf {} +