-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
78 lines (76 loc) · 1.51 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
[project]
name = "Build-RAGAI"
version = "2.0.0"
description = "Retrieval Augmented Generation code for AI. Prebuilt Python components for leveraging generative AI via Large Language Models."
authors = [
{name = "Daethyra", email = "109057945+Daethyra@users.noreply.github.com"},
]
dependencies = [
"langchain>=0.1.0",
"openai>=0.28.1",
"transformers>=4.34.1",
"torch>=2.1.1",
"ipykernel>=6.29.3",
]
requires-python = ">=3.10, <3.13"
readme = "README.md"
license = {text = "GNU Affero General Public License"}
[tool.pdm]
index = "https://pypi.org/simple"
[tool.pdm.dev-dependencies]
black = [
"black>=23.11.0",
]
flake8 = [
"flake8>=6.1.0",
]
[tool.black]
line-length = 88 # Adjust this to your preferred line length
include = '\.pyi?$' # Include only Python files
exclude = '''(
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| /(
\.eggs
| \.pytest_cache
| \.serverless
| \.terraform
| \.vagrant
| \.vscode
)/
)'''
[tool.flake8]
exclude = [
# Exclude files that black formats
".venv/",
".git/",
".mypy_cache/",
".tox/",
".venv/",
"_build/",
"buck-out/",
"build/",
"dist/"
]
# Most common: [E203, E501, W503] | Specify other error codes to ignore (optional)
ignore = [
"E203",
"E501",
"W503",
"E231",
"E701",
"E702",
"E711",
"E712",
"E722",
"E731"
]