quivr/backend/core/pyproject.toml

57 lines
1.2 KiB
TOML
Raw Normal View History

[tool.poetry]
name = "quivr-core"
version = "0.0.1"
description = "Quivr core RAG package"
authors = []
readme = "README.md"
repository = "https://github.com/langchain-ai/langchain"
[tool.poetry.dependencies]
python = "^3.11"
pydantic = "^2.7.4"
langchain-core = "^0.2.10"
langchain = "^0.2.6"
[tool.ruff]
line-length = 88
exclude = [".git", "__pycache__", ".mypy_cache", ".pytest_cache"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"B904",
"B006",
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.lint.isort]
order-by-type = true
relative-imports-order = "closest-to-furthest"
extra-standard-library = ["typing"]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
known-first-party = []
[tool.pytest.ini_options]
addopts = "--tb=short -ra -v"
filterwarnings = ["ignore::DeprecationWarning"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"