-
Notifications
You must be signed in to change notification settings - Fork 70
/
pyproject.toml
77 lines (67 loc) · 1.52 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
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "lotus-ai"
version = "1.0.1"
description = "lotus"
readme = "README.md"
authors = [
{name = "Liana Patel", email = "[email protected]"},
{name = "Siddharth Jha", email = "[email protected]"}
]
license = { text = "MIT License" }
requires-python = ">=3.10, <3.13"
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"backoff>=2.2.1,<3.0.0",
"faiss-cpu>=1.8.0.post1,<2.0.0",
"litellm>=1.51.0,<2.0.0",
"numpy>=1.25.0,<2.0.0",
"pandas>=2.0.0,<3.0.0",
"sentence-transformers>=3.0.1,<4.0.0",
"tiktoken>=0.7.0,<1.0.0",
"tqdm>=4.66.4,<5.0.0",
]
[project.optional-dependencies]
docs = [
"sphinx",
"sphinx_rtd_theme",
]
xml = [
"lxml",
]
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
# Select a minimal set of rules
select = [
"F",
"E",
"I",
]
ignore = [
"E501", # Line too long
]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
docstring-code-format = false
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint.per-file-ignores]
"**/{docs}/*" = ["ALL"]
"**__init__.py" = ["ALL"]
[tool.mypy]
python_version = "3.10"
strict = true
ignore_missing_imports = true