[tool.uv.workspace]
members = [
    "web",
    "extract/padelnomics_extract",
    "transform/sqlmesh_padelnomics",
]

[dependency-groups]
dev = [
    "hypothesis>=6.151.6",
    "niquests>=3.14.0",
    "playwright>=1.58.0",
    "pytest>=8.0.0",
    "pytest-asyncio>=0.23.0",
    "pytest-playwright>=0.7.2",
    "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 = ["web/tests"]
markers = ["visual: Playwright visual tests (require browser install)"]
addopts = "-m 'not visual'"
