* ruff action * chore: Update Python version to 3.10 in lint.yml workflow * fix lint and formatting * cleanup
59 lines
No EOL
1 KiB
TOML
59 lines
No EOL
1 KiB
TOML
[tool.poetry]
|
|
name = "graphiti"
|
|
version = "0.0.1"
|
|
description = "Graph building library"
|
|
authors = ["Paul Paliychuk <paul@getzep.com>", "Preston Rasmussen <preston@getzep.com>"]
|
|
readme = "README.md"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
pydantic = "^2.8.2"
|
|
fastapi = "^0.112.0"
|
|
neo4j = "^5.23.0"
|
|
sentence-transformers = "^3.0.1"
|
|
diskcache = "^5.6.3"
|
|
arrow = "^1.3.0"
|
|
openai = "^1.38.0"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = "^8.3.2"
|
|
python-dotenv = "^1.0.1"
|
|
pytest-asyncio = "^0.23.8"
|
|
pytest-xdist = "^3.6.1"
|
|
ruff = "^0.6.2"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pydantic = "^2.8.2"
|
|
mypy = "^1.11.1"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath = ["."]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
# pycodestyle
|
|
"E",
|
|
# Pyflakes
|
|
"F",
|
|
# pyupgrade
|
|
"UP",
|
|
# flake8-bugbear
|
|
"B",
|
|
# flake8-simplify
|
|
"SIM",
|
|
# isort
|
|
"I",
|
|
]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "single"
|
|
indent-style = "tab"
|
|
docstring-code-format = true |