-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (75 loc) · 2.15 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (75 loc) · 2.15 KB
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
[project]
authors = [{name = "resemble-ai", email = "engineering@resemble.ai"}]
dependencies = [
"librosa",
"s3tokenizer==0.2.0",
"torch",
"torchaudio",
"transformers==4.46.3",
"diffusers",
"resemble-perth==1.0.1",
"conformer==0.3.2",
"safetensors==0.5.3",
"spacy-pkuseg==1.0.1",
"pykakasi==2.3.0",
"gradio",
"pydantic>=2.11.10",
]
description = "Chatterbox: Open Source TTS and Voice Conversion by Resemble AI"
license = {file = "LICENSE"}
name = "chatterbox-tts"
readme = "README.md"
requires-python = ">=3.10,<3.14"
version = "0.1.5"
[project.urls]
Homepage = "https://github.com/resemble-ai/chatterbox"
Repository = "https://github.com/resemble-ai/chatterbox"
[build-system]
build-backend = "uv_build"
requires = ["uv_build>=0.9.17,<0.10.0"]
[tool.uv.build-backend]
module-name = "chatterbox"
module-root = "src"
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
ignore = [
"E501", # line too long (handled by black)
"PLR0913", # too many arguments
"PLR2004", # magic value used in comparison
"TRY003", # avoid specifying long messages outside exception class
"UP035", # deprecated import (we'll use typing for now)
"UP045", # non-pep604 annotation (we'll use Optional for compatibility)
"UP047", # non-pep695 generic function (not available in all Python versions)
"PLR0917", # too many positional arguments for method call
"ERA001", # commented out code is used
"PLR6301",
"ARG001", # unused argument
"ARG002", # unused argument
]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
"PTH", # flake8-use-pathlib
"ERA", # eradicate
"PD", # pandas-vet
"PL", # Pylint
"TRY", # tryceratops
"RUF", # Ruff-specific rules
]
[tool.ruff.format]
indent-style = "space"
line-ending = "auto"
quote-style = "double"
skip-magic-trailing-comma = false
[tool.pyrefly]
ignore = ["reportUnusedParameter"]
project-includes = ["src/chatterbox"]