File size: 1,800 Bytes
c35cd37
 
 
 
 
 
a8c39f5
 
 
 
 
 
c35cd37
 
7e9f59c
 
 
 
c35cd37
a8c39f5
1378843
92772e9
 
 
 
b3385db
 
c6fd5b2
 
b3385db
2c01ee6
c6fd5b2
 
7e9f59c
 
a8c39f5
7e9f59c
 
c35cd37
 
 
 
 
 
1378843
92772e9
c35cd37
 
 
 
 
 
 
1378843
b3385db
a8c39f5
 
c35cd37
 
1378843
c35cd37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c6fd5b2
f017d24
1378843
 
f017d24
 
 
a8c39f5
 
 
 
b3385db
2c01ee6
a8c39f5
1378843
a8c39f5
7e9f59c
c35cd37
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[tool.poetry]
name = "tts-service"
version = "0.1.0"
description = ""
authors = ["Jesus Lopez <jesus@jesusla.com>"]
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"