44 lines
809 B
TOML
44 lines
809 B
TOML
[project]
|
|
name = "house-elo-ranking"
|
|
version = "1.0.0"
|
|
description = "Pairwise comparison and ELO ranking of house listings"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi==0.115.0",
|
|
"uvicorn[standard]==0.30.6",
|
|
"sqlalchemy==2.0.35",
|
|
"psycopg2-binary==2.9.9",
|
|
"pydantic==2.9.2",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"httpx>=0.27",
|
|
"ruff>=0.8",
|
|
"sqlfluff>=3.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"UP", # pyupgrade
|
|
]
|
|
ignore = [
|
|
"B008", # Depends() in function defaults is idiomatic FastAPI
|
|
]
|
|
|
|
|