forked from YiVal/YiVal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (52 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
[tool.poetry]
name = "yival"
version = "0.0.0"
description = "YiVal is an open-source project designed to revolutionize the way developers and researchers evaluate and refine AI models."
authors = [
"Tao Feng <[email protected]>",
"Yan QiDong <[email protected]>",
]
license = "Apachev2"
readme = "README.md"
packages = [{ include = "yival", from = "src" }]
[tool.poetry.scripts]
yival = 'yival.__main__:main'
[tool.poetry.dependencies]
python = ">=3.10,<4"
openai = "^0.27.4"
hydra-core = "^1.3.2"
omegaconf = "^2.3.0"
fuzzywuzzy = "^0.18.0"
types-pyyaml = "^6.0.12.11"
python-levenshtein = "^0.21.1"
pydantic = "^2.1.1"
textual = "^0.30.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.0"
pytest-isort = "^3.1.0"
pytest-mypy = "^0.10.3"
pytest-pylint = "^0.19.0"
pytest-yapf3 = "^0.7.0"
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = true
dirty = true
vcs = "git"
[tool.pytest.ini_options]
addopts = ["--verbose", "--yapf", "--isort", "--mypy"]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
known_first_party = "yival"
[tool.yapf]
align_closing_bracket_with_visual_indent = true
based_on_style = "pep8"
blank_line_before_nested_class_or_def = true
coalesce_brackets = true
dedent_closing_brackets = true
[tool.mypy]
[[tool.mypy.overrides]]
module = "yival.*"
ignore_missing_imports = true