[tool.poetry] name = "tts-service" version = "0.1.0" description = "" authors = ["Jesus Lopez "] readme = "README.md" packages = [ { include = "assets", from = "." }, { include = "rvc", from = "." }, { include = "tabs", from = "." }, { include = "tts_service", from = "." }, ] [tool.poetry.scripts] tts-service = "tts_service.cli:main" [tool.poetry.dependencies] python = "~3.10" boto3 = "^1.35.70" click = "^8.1.7" click-help-colors = "^0.9.4" edge-tts = "6.1.9" gradio = "4.43.0" httpx = "^0.28.0" pandoc = "^2.4" pydantic = "^2.10.2" python-dotenv = "^1.0.1" pyyaml = "^6.0.2" sh = "^2.1.0" soundfile = "^0.12.1" tqdm = "^4.67.1" [tool.poetry.group.ci.dependencies] gradio = "4.43.0" huggingface-hub = "^0.26.2" [tool.poetry.group.dev.dependencies] debugpy = "^1.8.9" ipykernel = "^6.29.5" pipdeptree = "^2.23.4" pre-commit = "^4.0.1" ruff = "^0.7.4" vulture = "^2.13" deptry = "^0.21.1" [tool.poetry.group.test.dependencies] pytest = "^8.3.3" pytest-cov = "^6.0.0" [tool.poetry.group.typing.dependencies] mypy = "^1.13.0" types-boto3 = "^1.0.2" types-pyyaml = "^6.0.12.20240917" [tool.ruff] line-length = 132 include = ["tts-service/**/*.py"] [tool.ruff.lint] select = [ # pycodestyle "E", # Pyflakes "F", # pyupgrade "UP", # flake8-bugbear "B", # flake8-simplify "SIM", # isort "I", ] [tool.mypy] packages = "tts_service,tests" check_untyped_defs = true explicit_package_bases = true namespace_packages = true [[tool.mypy.overrides]] module = [ "edge_tts", "gradio", "gradio.themes.base", "gradio.themes.utils", "pandoc", "sh", "soundfile", "tqdm", ] ignore_missing_imports = true [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"