[project]
name = "beanflows"
version = "0.1.0"
description = "Commodity analytics for coffee traders"
readme = "README.md"
requires-python = ">=3.11"
authors = [
    { name = "Hendrik Deeman", email = "hendrik@beanflows.coffee" }
]
dependencies = [
    "quart>=0.19.0",
    "aiosqlite>=0.19.0",
    "duckdb>=1.0.0",
    "httpx>=0.27.0",
    "python-dotenv>=1.0.0",

    "itsdangerous>=2.1.0",
    "jinja2>=3.1.0",
    "hypercorn>=0.17.0",
]

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

[tool.hatch.build.targets.wheel]
packages = ["src/beanflows"]

[tool.uv]
dev-dependencies = [
    "hypothesis>=6.100.0",
    "pytest>=8.0.0",
    "pytest-asyncio>=0.23.0",
    "respx>=0.22.0",
    "ruff>=0.3.0",
]

[tool.ruff]
line-length = 100
target-version = "py311"

[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = ["E501"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
