cd4c3131d9
- Root pyproject.toml come workspace coordinator (no codice, dev deps + tool config) - src/multi_swarm_core/pyproject.toml: package core con dipendenze (pandas, openai, pydantic, ...) - src/strategy_crypto/pyproject.toml: package strategia con multi-swarm-core come workspace dep - Aggiunte env var GA_DB_PATH, STRATEGY_CRYPTO_DB_PATH, DASHBOARD_ROOT_PATH in .env.example - Patch Dockerfile (commento, label, healthcheck per workspace) - .gitignore: aggiunto .omc/ + state/*.db generico - Rigenerato uv.lock dal workspace uv tree mostra: strategy-crypto v0.1.0 ├── multi-swarm-core v0.1.0 ├── nicegui v3.12.0 └── ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[project]
|
|
name = "multi-swarm-coevolutive"
|
|
version = "0.1.0"
|
|
description = "Multi-Swarm Coevolutive: monorepo workspace (core + strategie)"
|
|
authors = [{ name = "Adriano Dal Pastro", email = "adrianodalpastro@tielogic.com" }]
|
|
requires-python = ">=3.13"
|
|
|
|
[tool.uv.workspace]
|
|
members = ["src/multi_swarm_core", "src/strategy_crypto"]
|
|
|
|
[tool.uv.sources]
|
|
multi-swarm-core = { workspace = true }
|
|
strategy-crypto = { workspace = true }
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.3",
|
|
"pytest-mock>=3.14",
|
|
"pytest-asyncio>=0.24",
|
|
"responses>=0.25",
|
|
"ruff>=0.7",
|
|
"mypy>=1.13",
|
|
"types-requests>=2.32",
|
|
"multi-swarm-core",
|
|
"strategy-crypto",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py313"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "N", "UP", "B", "RUF"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.13"
|
|
strict = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["src/multi_swarm_core/tests", "src/strategy_crypto/tests"]
|
|
addopts = "-v --tb=short"
|
|
markers = [
|
|
"integration: tests that require external services (Cerbero, LLM API)",
|
|
"slow: tests that take more than 5 seconds",
|
|
]
|