-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (58 loc) · 1.78 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tiger_eval"
version = "0.0.1"
description = "Text Generation Evaluation Toolkit"
readme = "README.md"
authors = [
{ name = "Bin Wang"},
{ name = "Zhengyuan Liu"},
{ name = "Geyu Lin"},
]
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords = ["evaluation", "text", "generation"]
dependencies = [
"feedparser",
"html2text",
'tomli; python_version < "3.11"'
]
requires-python = ">=3.7"
[project.optional-dependencies]
build = ["build", "twine"]
dev = ["black", "bumpver", "isort", "mypy", "pytest"]
[project.scripts]
tiger_eval = "tiger_eval.__main__:main"
[project.urls]
repository = "https://github.com/SeaEval/TiGEr_Eval"
documentation = "https://github.com/SeaEval/TiGEr_Eval"
[tool.bumpver]
current_version = "0.0.1"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
tag = true
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{version}"',
]
"src/tiger_eval/__init__.py" = ["{version}"]
"src/tiger_eval/__main__.py" = ["- tiger_eval v{version}"]
[tool.isort]
profile = "black"
import_heading_stdlib = "Standard library imports"
import_heading_thirdparty = "Third party imports"
import_heading_firstparty = "Reader imports"
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = "feedparser"
ignore_missing_imports = true