chore: import upstream snapshot with attribution
Build and push docs image / build-image (push) Waiting to run
Update draft releases / main (push) Waiting to run
Test Python / test-python (macos-latest, 3.10) (push) Waiting to run
Test Python / test-python (macos-latest, 3.11) (push) Waiting to run
Test Python / test-python (ubuntu-latest, 3.10) (push) Waiting to run
Test Python / test-python (ubuntu-latest, 3.11) (push) Waiting to run
Build Web Application / build-web (macos-latest) (push) Waiting to run
Build Web Application / build-web (ubuntu-latest) (push) Waiting to run
Python Code Quality Checks / build (push) Waiting to run
Build and push docs image / build-image (push) Waiting to run
Update draft releases / main (push) Waiting to run
Test Python / test-python (macos-latest, 3.10) (push) Waiting to run
Test Python / test-python (macos-latest, 3.11) (push) Waiting to run
Test Python / test-python (ubuntu-latest, 3.10) (push) Waiting to run
Test Python / test-python (ubuntu-latest, 3.11) (push) Waiting to run
Build Web Application / build-web (macos-latest) (push) Waiting to run
Build Web Application / build-web (ubuntu-latest) (push) Waiting to run
Python Code Quality Checks / build (push) Waiting to run
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
[project]
|
||||
name = "dbgpt-mono"
|
||||
version = "0.8.1"
|
||||
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 = "cfqcsunny@gmail.com" }
|
||||
]
|
||||
dependencies = []
|
||||
readme = "README.md"
|
||||
requires-python = ">= 3.10"
|
||||
|
||||
[tool.uv.sources]
|
||||
dbgpt = { workspace = true }
|
||||
dbgpt-client = { workspace = true }
|
||||
dbgpt-ext = { workspace = true }
|
||||
dbgpt-serve = { workspace = true }
|
||||
dbgpt-app = { workspace = true }
|
||||
dbgpt-acc-auto = { workspace = true }
|
||||
dbgpt-acc-flash-attn = { workspace = true }
|
||||
dbgpt-sandbox = { workspace = true }
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "testpypi"
|
||||
url = "https://test.pypi.org/simple/"
|
||||
publish-url = "https://test.pypi.org/legacy/"
|
||||
explicit = true
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = [
|
||||
"packages/dbgpt-app",
|
||||
"packages/dbgpt-client",
|
||||
"packages/dbgpt-core",
|
||||
"packages/dbgpt-ext",
|
||||
"packages/dbgpt-serve",
|
||||
"packages/dbgpt-sandbox",
|
||||
"packages/dbgpt-accelerator/dbgpt-acc*",
|
||||
]
|
||||
|
||||
[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",
|
||||
"pre-commit>=4.2.0",
|
||||
"mypy>=1.15.0",
|
||||
]
|
||||
|
||||
|
||||
[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.lint.isort]
|
||||
# Specify the local modules (first-party)
|
||||
known-first-party = ["dbgpt", "dbgpt_acc_auto", "dbgpt_client", "dbgpt_ext", "dbgpt_serve", "dbgpt_app", "dbgpt_sandbox"]
|
||||
Reference in New Issue
Block a user