[project]
name = "showrunner-sidecar"
version = "0.1.0"
description = "Python sidecar for ShowRunner desktop app - event processing, overlay mapping, and FFmpeg export"
requires-python = ">=3.11"
dependencies = [
    "fastapi>=0.115.0",
    "uvicorn[standard]>=0.32.0",
    "pydantic>=2.10.0",
    "ffmpeg-python>=0.2.0",
    "httpx>=0.28.0",
    "watchdog>=6.0.0",
    "pyobjc>=10.0; sys_platform == \"darwin\"",
    "anthropic>=0.45.0",
    "faster-whisper>=1.0.0",
]

[project.optional-dependencies]
dev = [
    "mypy>=1.13.0",
    "pre-commit>=4.0.0",
    "ruff>=0.8.0",
    "pytest>=8.3.0",
    "pytest-asyncio>=0.25.0",
    "pytest-cov>=6.0.0",
]

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

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

[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_any_unimported = false

[tool.pytest.ini_options]
testpaths = ["python_sidecar/tests"]
python_files = ["test_*.py"]
addopts = "-q --cov=python_sidecar/api --cov=python_sidecar.main --cov-report=term-missing --cov-fail-under=50"

[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
