chore: scaffolding inicial del repo (pyproject, requirements, Makefile)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Juan
2026-05-10 10:08:48 +02:00
co-authored by Claude Opus 4.7
parent f5e6b8767d
commit 62536766e6
19 changed files with 127 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
.PHONY: help install lint format test test-all smoke up down logs clean
help:
@echo "Targets: install lint format test test-all smoke up down logs clean"
install:
pip install -r core/requirements.txt -r dashboard/requirements.txt
pip install pytest pytest-asyncio ruff mypy freezegun
lint:
ruff check core/src dashboard/src tests
mypy core/src
format:
ruff format core/src dashboard/src tests
ruff check --fix core/src dashboard/src tests
test:
pytest tests/unit -v
test-all:
pytest -v
smoke:
docker compose up -d
@sleep 5
curl -fsS http://localhost:8000/health || (docker compose down && exit 1)
docker compose down
up:
docker compose up
down:
docker compose down
logs:
docker compose logs -f
clean:
rm -rf .pytest_cache .mypy_cache .ruff_cache __pycache__ data/*.sqlite data/*.jsonl