1
0

Migrate to uv sync and pytest coverage workflow

This commit is contained in:
2026-04-02 14:28:18 +02:00
parent 08ebab6348
commit 17e0099265
8 changed files with 2250 additions and 60 deletions

30
pyproject.toml Normal file
View File

@@ -0,0 +1,30 @@
[project]
name = "content-generation"
version = "0.1.0"
description = "Video content generation pipeline"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"boto3",
"python-dotenv",
"elevenlabs",
"torch",
"transformers",
"diffusers",
"accelerate",
"safetensors",
"huggingface-hub",
"bitsandbytes",
]
[dependency-groups]
dev = [
"pytest",
"pytest-cov",
"coverage[toml]",
]
[tool.pytest.ini_options]
addopts = "-q --cov=run_video_pipeline --cov=src/logging_config.py --cov-report=term-missing --cov-fail-under=70"
testpaths = ["tests"]
python_files = ["test_*.py"]