-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (76 loc) · 1.72 KB
/
pyproject.toml
File metadata and controls
87 lines (76 loc) · 1.72 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
85
86
87
[tool.poetry]
name = "Awesome-Text2GQL"
version = "2.0"
description = "Awesome-Text2GQL: An AI-assisted Framework for Text2GQL Dataset Construction."
authors = ["Berry <panghy1106@163.com>", "Lyu Songlin <lyusonglin990625@gmail.com>"]
packages = [
{ include = "app" }
]
[tool.poetry.dependencies]
python = ">=3.10"
antlr4-python3-runtime = "4.13.2"
graphviz = "0.20.1"
tqdm = "4.66.5"
torch = "2.6.0"
transformers = "4.51.3"
pandas = "2.2.3"
pyarrow = "^20.0.0"
dashscope = "^1.23.4"
tugraphclient = "^2.0"
openai = "==2.9.0"
numpy = "2.2.6"
neo4j = "6.0.3"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[[tool.poetry.source]]
name = "aliyun"
priority = "supplemental"
url = "https://mirrors.aliyun.com/pypi/simple/"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
pytest = "*"
ruff = "*"
mypy = "*"
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-cov = "*"
pytest-mock = "^3.14.0"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle error
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"EXE",
]
ignore = [
"UP006", # use List not list
"UP035",
"UP007",
]
extend-select = ["I"]
[tool.ruff.lint.isort]
combine-as-imports = true
force-sort-within-sections = true
known-first-party = ["app"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
testpaths = ["test"]
python_files = ["test_*.py"]
addopts = "-v"
asyncio_mode = "auto" # Enable asyncio mode
markers = [
"asyncio: mark test as async"
]