Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (60 loc) · 1.59 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (60 loc) · 1.59 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
[project]
name = "voicevox-jev-proxy"
version = "0.1.0"
description = "VOICEVOX intonation correction driven by TypeSafe Jev judgments"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "ivy", email = "ivy@tohu.dev" }
]
requires-python = ">=3.12"
dependencies = [
"fugashi>=1.5.2",
"httpx>=0.28.1",
"pydantic>=2.13.5",
"pydantic-settings>=2.15.0",
"sudachipy>=0.6.11",
"unidic-lite>=1.0.8",
]
[project.scripts]
voicevox-jev-correct = "voicevox_jev_proxy.cli:main"
voicevox-jev-proxy = "voicevox_jev_proxy.server:main"
[build-system]
requires = ["uv_build>=0.12.15,<0.13.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"mypy>=2.3.1",
"pytest>=9.1.1",
"pytest-cov>=7.1.0",
"ruff>=0.16.6",
]
[tool.ruff]
line-length = 120
extend-exclude = [".cache", ".build"]
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D1", "D203", "D213", "D400", "D415", "TD", "T201", "TRY003", "EM101", "COM812", "CPY"]
allowed-confusables = ["ノ", "!", "?", "(", ")"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "PLR2004", "ANN", "D", "INP001", "ARG"]
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]