-
-
Notifications
You must be signed in to change notification settings - Fork 211
/
pyproject.toml
98 lines (89 loc) · 1.73 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[tool.poetry]
name = "RAGatouille"
version = "0.0.8post4"
description = "Library to facilitate the use of state-of-the-art retrieval models in common RAG contexts."
authors = ["Benjamin Clavie <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
packages = [{include = "ragatouille"}]
repository = "https://github.com/bclavie/ragatouille"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
faiss-cpu = "^1.7.4"
transformers = "^4.36.2"
voyager = "^2.0.2"
sentence-transformers = "^2.2.2"
torch = ">=1.13"
llama-index = ">=0.7"
langchain_core = ">=0.1.4"
langchain = ">=0.1.0"
colbert-ai = "0.2.19"
onnx = "^1.15.0"
srsly = "2.4.8"
fast-pytorch-kmeans= "0.2.0.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
mkdocs = "^1.4.3"
mkdocs-material = "^9.1.18"
mkdocstrings = "^0.22.0"
mkdocstrings-python = "^1.1.2"
ruff = "^0.1.9"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::Warning"
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"*.ipynb",
"examples",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Same as Black.
line-length = 88
output-format = "grouped"
target-version = "py39"
[tool.ruff.lint]
select = [
# bugbear rules
"B",
"I",
# remove unused imports
"F401",
# bare except statements
"E722",
# unused arguments
"ARG",
]
ignore = [
"B006",
"B018",
]
unfixable = [
"T201",
"T203",
]
ignore-init-module-imports = true