-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
53 lines (45 loc) · 1.04 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
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "surrealdb_openai"
version = "0"
description = "Example of RAG using SurrealDB and OpenAI"
authors = [
{name="Cellan Hall", email="[email protected]"}
]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.11, <3.12"
dependencies = [
"pandas",
"wget",
"pandas-stubs",
"surrealdb-beta @ git+https://github.com/surrealdb/surrealdb.py",
"tqdm",
"fastapi",
"uvicorn",
"jinja2",
"python-multipart",
"python-dotenv",
]
[project.scripts]
surreal-insert = "surrealdb_openai.insert:surreal_insert"
download-data = "surrealdb_openai.download:download_data"
[tool.ruff]
target-version = "py311"
line-length = 80
[tool.ruff.lint]
select = ["ALL"]
ignore = ["ISC001", "COM812"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.uv]
dev-dependencies = [
"ruff>=0.6.2",
]