43bf8fc461
Sweep finale del task #14: tutti e 4 i client exchange ora usano httpx puro (deribit già lo era; bybit/alpaca/hyperliquid riscritti nei commit precedenti). Rimosso anche l'override mypy per i moduli SDK che non servono più. Quality gate finale: - 292 test passano (tutti) - mypy: 0 issues - ruff: clean - Nessun import SDK in src/ Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
84 lines
1.7 KiB
TOML
84 lines
1.7 KiB
TOML
[project]
|
|
name = "cerbero-mcp"
|
|
version = "2.0.0"
|
|
description = "Unified multi-exchange MCP server with token-based testnet/mainnet routing"
|
|
requires-python = ">=3.11"
|
|
authors = [{ name = "Adriano", email = "adrianodalpastro@tielogic.com" }]
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.32",
|
|
"pydantic>=2.9",
|
|
"pydantic-settings>=2.6",
|
|
"httpx>=0.27",
|
|
"python-json-logger>=2.0",
|
|
"websockets>=13",
|
|
"numpy>=1.26",
|
|
"scipy>=1.13",
|
|
"statsmodels>=0.14",
|
|
"pandas>=2.2",
|
|
"eth-account>=0.13.7",
|
|
"msgpack>=1.1.2",
|
|
"eth-utils>=5.3.1",
|
|
]
|
|
|
|
[project.scripts]
|
|
cerbero-mcp = "cerbero_mcp.__main__:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/cerbero_mcp"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W", "UP", "B", "SIM"]
|
|
ignore = ["E501", "E741"]
|
|
|
|
[tool.ruff.lint.flake8-bugbear]
|
|
extend-immutable-calls = [
|
|
"fastapi.Depends",
|
|
"fastapi.Query",
|
|
"fastapi.Body",
|
|
"fastapi.Header",
|
|
"fastapi.Path",
|
|
"fastapi.Cookie",
|
|
"fastapi.Form",
|
|
"fastapi.File",
|
|
"fastapi.Security",
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"**/test_*.py" = ["B008"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
addopts = "--import-mode=importlib"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
strict = false
|
|
warn_return_any = true
|
|
warn_unused_ignores = true
|
|
warn_redundant_casts = true
|
|
check_untyped_defs = true
|
|
ignore_missing_imports = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["pythonjsonlogger.*"]
|
|
ignore_missing_imports = true
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.0.3",
|
|
"pytest-asyncio>=1.3.0",
|
|
"pytest-httpx>=0.36.2",
|
|
"mypy>=1.13",
|
|
"ruff>=0.5,<0.6",
|
|
]
|