mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 01:21:48 +03:00
f496e013d3
🤖 I have created a release *beep* *boop* --- ## [0.0.5](https://github.com/QuivrHQ/quivr/compare/core-0.0.4...core-0.0.5) (2024-07-10) ### Features * Add GitHub Actions workflow for running tests on backend/core ([#2820](https://github.com/QuivrHQ/quivr/issues/2820)) ([82292f3
](82292f30ac
)) * Add GitHub Actions workflow for running tests on backend/core ([#2822](https://github.com/QuivrHQ/quivr/issues/2822)) ([1566040
](15660409a3
)) * quivr core chat history ([#2824](https://github.com/QuivrHQ/quivr/issues/2824)) ([847e161
](847e161d80
)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
88 lines
1.9 KiB
TOML
88 lines
1.9 KiB
TOML
[tool.poetry]
|
|
name = "quivr-core"
|
|
version = "0.0.5"
|
|
description = "Quivr core RAG package"
|
|
authors = []
|
|
readme = "README.md"
|
|
repository = "https://github.com/QuivrHQ/quivr"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.11"
|
|
pydantic = "^2.7.4"
|
|
langchain-core = "^0.2.10"
|
|
httpx = "^0.27.0"
|
|
faiss-cpu = { version = "^1.8.0.post1", optional = true }
|
|
langchain-community = { version = "^0.2.6", optional = true }
|
|
langchain-openai = { version = "^0.1.14", optional = true }
|
|
aiofiles = "^24.1.0"
|
|
|
|
[tool.poetry.extras]
|
|
base = ["langchain-community", "faiss-cpu", "langchain-openai"]
|
|
pdf = []
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
mypy = "^1.10.0"
|
|
pre-commit = "^3.7.1"
|
|
ipykernel = "*"
|
|
ruff = "^0.4.8"
|
|
flake8 = "*"
|
|
flake8-black = "*"
|
|
pytest-cov = "^5.0.0"
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
pytest-asyncio = "^0.23.7"
|
|
pytest = "^8.2.2"
|
|
pytest-xdist = "^3.6.1"
|
|
|
|
|
|
[tool.mypy]
|
|
disallow_untyped_defs = true
|
|
# Remove venv skip when integrated with pre-commit
|
|
exclude = ["_static", "build", "examples", "notebooks", "venv", ".venv"]
|
|
ignore_missing_imports = true
|
|
python_version = "3.11"
|
|
|
|
[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"
|