File size: 1,608 Bytes
e98b5e2
 
 
f420a37
 
 
e98b5e2
f420a37
1f58459
 
f420a37
bf6610d
40403f3
bf6610d
9ed181c
f420a37
e1f0703
f420a37
e98b5e2
 
aad8b40
9ed181c
 
 
 
aad8b40
f420a37
 
1ed6720
f420a37
 
 
9dc43bf
f420a37
aad8b40
 
 
 
 
 
048c3fc
 
 
 
 
 
 
 
 
04e2d2a
048c3fc
e1385f3
048c3fc
de305ed
104737f
f076d8d
048c3fc
 
 
aad8b40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5ed9749
aad8b40
 
 
 
 
1ed6720
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
[project]
name = "expressive-tts-arena"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "anthropic>=0.45.2",
    "asyncpg>=0.28.0",
    "bs4>=0.0.2",
    "elevenlabs>=1.50.7",
    "gradio>=5.18.0",
    "greenlet>=2.0.0",
    "hume>=0.7.8",
    "openai>=1.68.0",
    "python-dotenv>=1.0.1",
    "sqlalchemy>=2.0.0",
    "tenacity>=9.0.0",
]

[tool.uv]
override-dependencies = [
    "aiofiles==24.1.0",
    "sounddevice; sys_platform == 'never'",
]
dev-dependencies = [
    "mypy>=1.15.0",
    "pre-commit>=4.1.0",
    "pyright>=1.1.394",
    "pytest>=8.3.4",
    "ruff>=0.9.5",
    "watchfiles>=1.0.4",
    "types-requests>=2.28.0",
]

[tool.ruff]
line-length = 120
src = ["src"]

[tool.ruff.lint]
ignore = [
    "B904",
    "BLE001",
    "D100",
    "D104",
    "EM101",
    "EM102",
    "FIX002",
    "G004",
    "PLR0912",
    "PLR0913",
    "PLR0915",
    "PLR2004",
    "RET504",
    "RUF006",
    "SIM117",
    "TD002",
    "TD003",
]
select = [
    "A",
    "ARG",
    "B",
    "BLE",
    "C4",
    "E",
    "EM",
    "ERA",
    "F",
    "FIX",
    "G",
    "I",
    "ICN",
    "ISC",
    "LOG",
    "N",
    "PL",
    "PT",
    "PTH",
    "PLR",
    "RET",
    "RUF",
    "SIM",
    "SLF",
    "T20",
    "TCH",
    "TD",
    "TID",
    "W",
]
per-file-ignores = { "src/frontend/components/arena.py" = ["E501"], "src/frontend/components/leaderboard.py" = ["E501"], "src/middleware/meta_tag_injection.py" = ["E501"] }

[tool.ruff.lint.pycodestyle]
max-line-length = 120

[tool.ruff.lint.pydocstyle]
convention = "google"