-
Notifications
You must be signed in to change notification settings - Fork 107
/
pyproject.toml
56 lines (48 loc) · 1.18 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
[tool.poetry]
name = "fast-graphrag"
version = "0.0.4"
description = ""
authors = ["Luca Pinchetti <[email protected]>", "Antonio Vespoli <[email protected]>", "Yuhang Song <[email protected]>"]
packages = [{include = "fast_graphrag" }]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
igraph = "^0.11.6"
xxhash = "^3.5.0"
pydantic = "^2.9.2"
scipy = "^1.14.1"
scikit-learn = "^1.5.2"
tenacity = "^9.0.0"
openai = "^1.52.1"
scipy-stubs = "^1.14.1.5"
hnswlib = "^0.8.0"
instructor = "^1.6.3"
requests = "^2.32.3"
python-dotenv = "^1.0.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.7.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"N", # PEP8 naming convetions
"D" # pydocstyle
]
ignore = [
"C901", # too complex
"W191", # indentation contains tabs
"D401" # imperative mood
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"_prompt.py" = ["E501"]