Files
Other.NF_Hotel-dataanalysis…/pyproject.toml
T
Tirsvad 225d28feb7 Initial project setup: NF Hotel Data Analysis API
- Add project structure with domain-driven design organization
- Implement FastAPI endpoints for hotel booking reports
- Add data cleaning, statistics, and LLM report generation services
- Include configuration management and security utilities
- Add repository layer for bookings and metadata access
- Setup testing framework with conftest.py
- Include example files and documentation
2026-09-21 13:17:49 +08:00

51 lines
1.2 KiB
TOML

[project]
name = "nf-hotel-api"
version = "0.1.0"
description = "Secure FastAPI service for NF Hotel booking analytics: descriptive statistics + LLM-generated markdown reports"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.34",
"pandas>=2.2",
"pydantic>=2.9",
"pydantic-settings>=2.6",
"httpx>=0.27",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3",
"pytest-asyncio>=0.24",
"pytest-cov>=5.0",
"httpx2>=2.0",
]
[tool.pytest.ini_options]
pythonpath = ["src"]
asyncio_mode = "auto"
addopts = "--cov=nf_hotel_api --cov-report=term-missing"
filterwarnings = [
# Third-party noise: starlette's testclient.py still references anyio's
# deprecated BlockingPortal alias; nothing our code touches directly.
"ignore:The anyio.abc.BlockingPortal alias is deprecated:DeprecationWarning",
]
[tool.coverage.run]
source = ["nf_hotel_api"]
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[tool.coverage.html]
directory = "docs/htmlcov"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]