forked from VOICEVOX/voicevox_engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
86 lines (77 loc) · 2.05 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
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
[tool.pysen]
version = "0.10.5"
[tool.pysen.lint]
enable_black = true
enable_flake8 = true
enable_isort = true
enable_mypy = true
mypy_preset = "strict"
mypy_plugins = [
{ function = "numpy.typing.mypy_plugin" },
{ function = "pydantic.mypy" },
]
line_length = 88
py_version = "py311"
isort_known_first_party = ["voicevox_engine"]
isort_known_third_party = ["numpy"]
[[tool.pysen.lint.mypy_targets]]
paths = ["."]
[tool.black] # automatically generated by pysen
# pysen ignores and overwrites any modifications
line-length = 88
target-version = ["py311"]
[tool.isort] # automatically generated by pysen
# pysen ignores and overwrites any modifications
default_section = "THIRDPARTY"
ensure_newline_before_comments = true
force_grid_wrap = 0
force_single_line = false
include_trailing_comma = true
known_first_party = ["voicevox_engine"]
known_third_party = ["numpy"]
line_length = 88
multi_line_output = 3
use_parentheses = true
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
python = "~3.11"
numpy = "^1.20.0"
fastapi = "^0.110.0"
python-multipart = "^0.0.5" # NOTE: required by fastapi
uvicorn = "^0.15.0"
soundfile = "^0.12.1"
pyyaml = "^6.0"
pyworld = "^0.3.0"
jinja2 = "^3.1.3" # NOTE: required by fastapi
pyopenjtalk = { git = "https://github.com/VOICEVOX/pyopenjtalk", rev = "b35fc89fe42948a28e33aed886ea145a51113f88" }
semver = "^3.0.0"
platformdirs = "^4.2.0"
soxr = "^0.3.6"
pydantic = "<2"
starlette = "^0.36.3"
[tool.poetry.group.dev.dependencies]
pyinstaller = "^5.13"
pre-commit = "^2.16.0"
poetry = "1.8.2"
poetry-plugin-export = "^1.6.0"
safety = "^3.1.0"
[tool.poetry.group.test.dependencies]
pysen = "~0.10.5"
black = "^24.2.0"
flake8-bugbear = "^24.2.6"
flake8 = "^7.0.0"
isort = "^5.13.0"
mypy = "^1.8.0"
pytest = "^8.0.0"
coveralls = "^3.2.0"
poetry = "1.8.2"
poetry-plugin-export = "^1.6.0"
httpx = "^0.25.0" # NOTE: required by fastapi.testclient.TestClient
syrupy = "^4.6.1"
types-pyyaml = "^6.0"
[tool.poetry.group.license.dependencies]
pip-licenses = "^4.3.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"