-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (56 loc) · 1.27 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
[project]
name = "lucy"
version = "0.1.0"
description = "personalized ai-powered assistant"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"art>=6.4",
"click>=8.1.8",
"faiss-cpu>=1.9.0.post1",
"fastapi[standard]>=0.115.6",
"langchain>=0.3.13",
"langchain-community>=0.3.13",
"langchain-core>=0.3.28",
"langchain-openai>=0.2.14",
"langchain-text-splitters>=0.3.4",
"pypdf>=5.1.0",
"python-dotenv>=1.0.1",
"python-telegram-bot>=21.10",
"structlog>=24.4.0",
]
[dependency-groups]
dev = [
"pre-commit>=4.0.1",
"ruff>=0.8.4",
]
[tool.ruff]
# Set the maximum line length to 90.
line-length = 90
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 20
indent-style = "space"
line-ending = "auto"
skip-magic-trailing-comma = false
quote-style = "double"
[tool.ruff.lint]
# Add the `line-too-long` rule to the enforced rule set. By default, Ruff omits rules that
# overlap with the use of a formatter, like Black, but we can override this behavior by
# explicitly adding the rule.
extend-select = ["E501"]
fixable = ["ALL"]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]