diff --git a/python/README.md b/python/README.md index 2cf5e9968..b18f1fe86 100644 --- a/python/README.md +++ b/python/README.md @@ -9,7 +9,7 @@ ValueCell is a community-driven, multi-agent platform for financial applications Install the package in development mode with all dependencies: ```bash -uv pip install -e ".[dev]" +uv sync --group dev ``` ### Production Installation diff --git a/python/pyproject.toml b/python/pyproject.toml index 1e44692d3..2d77d2e97 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -31,6 +31,20 @@ dev = [ "pytest-asyncio>=1.0.0", ] +[dependency-groups] +dev = [ + {include-group = "lint"}, + {include-group = "test"} +] +lint = [ + "ruff" +] +test = [ + "pytest>=7.4.0", + "pytest-cov>=4.1.0", + "pytest-asyncio>=1.0.0", +] + [tool.ruff] line-length = 88 indent-width = 4 diff --git a/python/uv.lock b/python/uv.lock index f5651aa98..7b1364539 100644 --- a/python/uv.lock +++ b/python/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 2 +revision = 3 requires-python = ">=3.12" resolution-markers = [ "python_full_version >= '3.13'", @@ -2052,6 +2052,22 @@ dev = [ { name = "ruff" }, ] +[package.dev-dependencies] +dev = [ + { name = "pytest" }, + { name = "pytest-asyncio" }, + { name = "pytest-cov" }, + { name = "ruff" }, +] +lint = [ + { name = "ruff" }, +] +test = [ + { name = "pytest" }, + { name = "pytest-asyncio" }, + { name = "pytest-cov" }, +] + [package.metadata] requires-dist = [ { name = "a2a-sdk", extras = ["http-server"], specifier = ">=0.3.4" }, @@ -2073,6 +2089,20 @@ requires-dist = [ ] provides-extras = ["dev"] +[package.metadata.requires-dev] +dev = [ + { name = "pytest", specifier = ">=7.4.0" }, + { name = "pytest-asyncio", specifier = ">=1.0.0" }, + { name = "pytest-cov", specifier = ">=4.1.0" }, + { name = "ruff" }, +] +lint = [{ name = "ruff" }] +test = [ + { name = "pytest", specifier = ">=7.4.0" }, + { name = "pytest-asyncio", specifier = ">=1.0.0" }, + { name = "pytest-cov", specifier = ">=4.1.0" }, +] + [[package]] name = "webencodings" version = "0.5.1"