Files
MagNetFlix/pyproject.toml
T
kiskaadee 38cd58a190 build(workspace): configure uv build-backend and add package readmes
- Configure [tool.uv.build-backend] with module-name and module-root for worker and bff
- Add package README files for services/worker and services/bff
- Add pytest-asyncio to dev dependencies with auto loop scope
- Mandate live todo.txt tracking in AGENTS.md
2026-10-13 07:26:03 -05:00

44 lines
927 B
TOML

[project]
name = "magnetflix-workspace"
version = "0.1.0"
description = "Monorepo workspace for MagNetFlix services"
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
[tool.uv.workspace]
members = ["services/*"]
[dependency-groups]
dev = [
"grpc-stubs>=1.53.0.6",
"grpcio-tools>=1.83.1",
"mypy-protobuf>=5.1.0",
"pyright>=1.1.411",
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"ruff>=0.16.5",
]
[tool.pyright]
venvPath = "."
venv = ".venv"
extraPaths = ["services/bff/src", "services/worker/src"]
include = ["services"]
exclude = ["**/__pycache__", "services/**/magnetflix/"]
[tool.ruff]
line-length = 88
target-version = "py312"
extend-exclude = ["services/**/magnetflix/"]
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
pythonpath = ["services/bff/src", "services/worker/src"]