-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathpyproject.toml
68 lines (60 loc) · 1.61 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
[project]
name = "dbgpt-mono"
version = "0.7.0"
description = """DB-GPT is an experimental open-source project that uses localized GPT \
large models to interact with your data and environment. With this solution, you can be\
assured that there is no risk of data leakage, and your data is 100% private and secure.\
"""
authors = [
{ name = "csunny", email = "[email protected]" }
]
dependencies = []
readme = "README.md"
requires-python = ">= 3.10"
[tool.uv.sources]
dbgpt-accelerator = { workspace = true }
dbgpt = { workspace = true }
dbgpt-client = { workspace = true }
dbgpt-ext = { workspace = true }
dbgpt-serve = { workspace = true }
dbgpt-app = { workspace = true }
[tool.uv.workspace]
members = [
"packages/dbgpt-*"
]
[tool.uv]
managed = true
dev-dependencies = [
"pip",
"tomli>=2.0.2",
"tomli-w>=1.1.0",
"pytest>=7.0.0",
"pytest_asyncio",
"twine",
"ruff>=0.9.1",
"pytest-mock>=3.14.0",
"asynctest>=0.13.0",
"pytest-integration>=0.2.3",
"pytest-recording>=0.13.2",
"pytest-cov>=6.0.0",
"jupyter",
]
[tool.pytest.ini_options]
pythonpath = ["packages"]
addopts = ["--import-mode=importlib", ]
python_files = ["test_*.py", "*_test.py"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.format]
# Format docstrings
docstring-code-format = true
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint]
# Enable: eror check, import order
select = ["E", "F", "I"]
[tool.ruff.isort]
# Specify the local modules (first-party)
known-first-party = ["dbgpt", "dbgpt_accelerator", "dbgpt_client", "dbgpt_ext", "dbgpt_serve", "dbgpt_app"]