-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
74 lines (62 loc) · 1.47 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
71
72
73
74
[tool.poetry]
name = "knowledge-graph"
version = "0.1.0"
description = ""
authors = ["Ben Chambers <[email protected]>"]
readme = "README.md"
packages = [{include = "knowledge_graph"}]
include = [
{ path = "knowledge_graph/prompt_templates/*.md", format = ["sdist", "wheel"] }
]
[tool.poetry.dependencies]
python = "^3.10"
langchain = "^0.1.14"
langchain-community = "^0.0.31"
langchain-openai = "^0.1.1"
langchain-experimental = "^0.0.56"
cassio = "^0.1.5"
graphviz = "^0.20.3"
pydantic-yaml = "^1.3.0"
pyyaml = "^6.0.1"
[tool.poetry.group.dev.dependencies]
python-dotenv = "^1.0.1"
ipykernel = "^6.29.4"
ruff = "^0.3.5"
testcontainers = "~3.7.1"
pytest = "^8.1.1"
precisely = "^0.1.9"
pytest-asyncio = "^0.23.6"
pytest-dotenv = "^0.5.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 98
# Assume Python 3.11.
target-version = "py310"
[tool.ruff.lint]
# Enable Pyflakes `E` and `F` codes by default.
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I001",
]
ignore = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[tool.mypy]
strict = true
warn_unreachable = true
pretty = true
show_column_numbers = true
show_error_context = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"