-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (76 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
84 lines (76 loc) · 1.4 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
83
84
[project]
name = "konoha"
version = "5.7.0"
description = "Add your description here"
authors = [{ name = "himkt", email = "himkt@klis.tsukuba.ac.jp" }]
dependencies = [
"requests<3.0.0",
]
readme = "README.md"
requires-python = ">= 3.10"
license = "MIT"
[project.optional-dependencies]
server = [
"fastapi<2.0.0",
"uvicorn<1.0.0",
]
all = [
"boto3~=1.34.0",
"fastapi<1.0.0",
"janome~=0.5.0",
"nagisa~=0.2.10",
"natto-py~=1.0.0",
"sentencepiece~=0.2.1",
"sudachidict-core==20230927",
"uvicorn<0.26.0",
]
remote = [
"boto3~=1.34.0",
]
janome = [
"janome~=0.5.0",
]
nagisa = [
"nagisa~=0.2.10",
]
mecab = [
"natto-py~=1.0.0",
]
sentencepiece = [
"sentencepiece~=0.2.1",
]
sudachi = [
"sudachipy~=0.6.10",
"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",
"sentencepiece",
"sudachipy",
]
ignore_missing_imports = true
[dependency-groups]
dev = [
"pytest>=8.2.0",
"httpx>=0.27.0",
"ruff>=0.4.4",
"mypy>=1.10.0",
"sphinx>=7.3.7",
"pydata-sphinx-theme>=0.16.1",
"types-requests>=2.31.0.6",
]
[tool.uv]
default-groups = ["dev"]
[tool.ruff]
line-length = 119