-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (60 loc) · 1.92 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (60 loc) · 1.92 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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
authors = [
{ name = "Nobuyuki Sekimori", email = "43375309+juno-rmks@users.noreply.github.com" },
]
name = "Utsuho"
description = "Deterministic normalization utilities for Japanese text variants."
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = ["click>=8.1,<9"]
dynamic = ["version"]
[project.urls]
"Source Code" = "https://github.com/juno-rmks/utsuho/"
"Issue Tracker" = "https://github.com/juno-rmks/utsuho/issues/"
"Documentation" = "https://utsuho.readthedocs.io/"
[project.optional-dependencies]
mcp = ["fastmcp>=2,<3"]
test = ["pytest", "pytest-asyncio", "coverage", "pytest-benchmark", "pytest-mock"]
docs = [
"Sphinx==5.3.0",
"sphinx-intl==2.1.0",
"sphinx-rtd-theme==1.2.0",
"myst-parser==1.0.0",
]
dev = ["build", "twine", "pylint", "black", "isort", "Utsuho[mcp,test,docs]"]
[tool.setuptools.dynamic]
version = { attr = "utsuho.__version__" }
[project.scripts]
utsuho = "utsuho.cli:cli"
utsuho-mcp = "utsuho.mcp:main"
[tool.pylint.format]
max-line-length = 88
[tool.pylint.messages_control]
disable = ["too-many-instance-attributes", "too-few-public-methods"]
[tool.black]
skip-string-normalization = true
extend-exclude = "docs/source/conf.py"
[tool.isort]
profile = "black"
skip_glob = ["docs/source/conf.py"]
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib", "--benchmark-skip"]
filterwarnings = ["error"]
testpaths = ["tests"]
markers = ["benchmark: performance benchmarks"]
[tool.coverage.run]
source = ["src"]
[tool.coverage.report]
exclude_lines = ["if __name__ == .__main__.:"]