-
Notifications
You must be signed in to change notification settings - Fork 26
/
pyproject.toml
86 lines (79 loc) · 1.42 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
[project]
name = "konoha"
version = "5.5.6"
description = "Add your description here"
authors = [{ name = "himkt", email = "[email protected]" }]
dependencies = [
"requests<3.0.0",
]
readme = "README.md"
requires-python = ">= 3.8"
license = "MIT"
[project.optional-dependencies]
server = [
"fastapi<1.0.0",
"uvicorn<0.26.0",
]
all = [
"boto3~=1.34.0",
"fastapi<1.0.0",
"janome~=0.5.0",
"kytea~=0.1.0",
"nagisa~=0.2.10",
"natto-py~=1.0.0",
"sentencepiece~=0.1.85",
"sudachidict-core==20230927",
"uvicorn<0.26.0",
]
remote = [
"boto3~=1.34.0",
]
janome = [
"janome~=0.5.0",
]
kytea = [
"kytea~=0.1.0",
]
nagisa = [
"nagisa~=0.2.10",
]
mecab = [
"natto-py~=1.0.0",
]
sentencepiece = [
"sentencepiece~=0.1.85",
]
sudachi = [
"sudachipy~=0.6.8",
"sudachidict-core==20230927",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist]
only-include = ["src"]
[[tool.mypy.overrides]]
module = [
"boto3",
"janome.tokenizer",
"nagisa",
"natto",
"Mykytea",
"sentencepiece",
"sudachipy",
]
ignore_missing_imports = true
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.2.0",
"httpx>=0.27.0",
"ruff>=0.4.4",
"mypy>=1.10.0",
"sphinx>=7.3.7",
"pydata-sphinx-theme>=0.15.2",
]
[tool.ruff]
line-length = 119