[project] name = "collina-pld" version = "0.2.0" 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"] # La carpeta alembic/ (migraciones) comparte nombre con el paquete: forzar third-party. known-third-party = ["alembic"] [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", ]