forked from LiveCarta/ContentGeneration
Migrate to uv sync and pytest coverage workflow
This commit is contained in:
30
pyproject.toml
Normal file
30
pyproject.toml
Normal 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"]
|
||||
Reference in New Issue
Block a user