[project]
name = "bggpipe"
dynamic = ["version"]
description = "Shelf-to-BGG collection pipeline: photos in, BoardGameGeek collection out"
requires-python = ">=3.12"
dependencies = [
    "typer>=0.12",
    "httpx>=0.27",
    "rapidfuzz>=3.9",
    "defusedxml>=0.7.1",
    "anthropic>=0.120.2",
    "pillow>=12.3.0",
    "pillow-heif>=1.5.0",
    "rich>=15.0.0",
    "fastapi>=0.141.1",
    "uvicorn>=0.52.1",
    "playwright>=1.62.0",
    "pydantic>=2.13.4",
]

[project.scripts]
bggpipe = "bggpipe.cli:app"

[dependency-groups]
dev = [
    "pytest>=8",
    "ruff>=0.5",
]

[tool.hatch.version]
path = "src/bggpipe/__init__.py"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.ruff]
target-version = "py312"

[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]

[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
    "live: hits the real BGG API; skipped unless --run-live is passed",
]
