-
Notifications
You must be signed in to change notification settings - Fork 212
/
Copy pathpyproject.toml
61 lines (53 loc) · 1.59 KB
/
pyproject.toml
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
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "B", "I", "W"]
ignore = [
"E501", # line-too-long
"B9" # TODO: 一時期に除外、あとで有効化する
]
unfixable = [
"F401", # unused-import
"F841" # unused-variable
]
[tool.ruff.lint.isort]
known-first-party = ["voicevox_engine"]
known-third-party = ["numpy"]
[tool.typos.default.extend-words]
datas = "datas" # PyInstaller's argument
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
python = "~3.11"
numpy = "^2.2.3"
fastapi-slim = "^0.115.5"
jinja2 = "^3.1.3" # NOTE: required by fastapi.templating.Jinja2Templates (fastapi-slim's unmanaged dependency)
python-multipart = "^0.0.20" # NOTE: required by fastapi.Form (fastapi-slim's unmanaged dependency)
uvicorn = "^0.34.0"
soundfile = "^0.13.1"
pyyaml = "^6.0.1"
pyworld = "^0.3.5"
pyopenjtalk = { git = "https://github.com/VOICEVOX/pyopenjtalk", rev = "5b70b94f3460ece07ea183227db088ce8d5212a6" }
semver = "^3.0.0"
platformdirs = "^4.2.0"
soxr = "^0.5.0"
pydantic = "^2.7.3"
starlette = "^0.45.3"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.0"
pytest = "^8.2.0"
coveralls = "^4.0.1"
poetry = "2.1.1"
poetry-plugin-export = "^1.8.0"
httpx = "^0.28.1" # NOTE: required by fastapi.testclient.TestClient (fastapi-slim's unmanaged dependency)
syrupy = "^4.6.1"
types-pyyaml = "^6.0.12"
pip-licenses = "5.0.0" # NOTE: must be specified exactly (c.f. #1281)
pre-commit = "^4.0.1"
pip-audit = "^2.7.3"
ruff = "^0.11.1"
[tool.poetry.group.build.dependencies]
pyinstaller = "^5.13"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"