Files
collina-pld/pyproject.toml
T
Fernando Davila 99ad44f547 chore(andamiaje): layout, tooling con uv y app mínima con /api/health
- pyproject.toml con FastAPI, SQLAlchemy 2.x, Alembic, Pydantic v2, openpyxl, rapidfuzz, Faker; dev: pytest, httpx, ruff
- app/: config desde entorno, engine SQLite con WAL y sesión sin borrado físico, stubs por fase
- seed/ y tests/fixtures/ con README; .gitignore excluye *.xlsx fuera de seed/ y tests/fixtures/
- test de /api/health con cliente de prueba y SQLite en memoria
2026-10-06 11:19:08 -06:00

61 lines
1.3 KiB
TOML

[project]
name = "collina-pld"
version = "0.0.1"
description = "Prototipo de plataforma PLD/FT para CHM Compliance (Collina)"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Proprietary" }
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.30",
"sqlalchemy>=2.0",
"alembic>=1.13",
"pydantic>=2.7",
"pydantic-settings>=2.3",
"jinja2>=3.1",
"openpyxl>=3.1",
"rapidfuzz>=3.9",
"faker>=26",
"python-multipart>=0.0.9",
"itsdangerous>=2.2",
]
[dependency-groups]
dev = [
"pytest>=8.2",
"httpx>=0.27",
"ruff>=0.5",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["alembic/versions"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "N"]
ignore = []
[tool.ruff.lint.isort]
known-first-party = ["app", "tests"]
[tool.ruff.format]
quote-style = "double"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
pythonpath = ["."]
filterwarnings = [
"error::DeprecationWarning:app",
# Starlette >=1.7 prefiere httpx2; el brief fija httpx. Revisar al subir de versión.
"ignore:Using `httpx` with `starlette.testclient` is deprecated",
]