diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5d9a24f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,46 @@ +[tool.uv.workspace] +members = [ + "services/common", + "services/mcp-alpaca", + "services/mcp-bybit", + "services/mcp-deribit", + "services/mcp-hyperliquid", + "services/mcp-macro", + "services/mcp-sentiment", +] + +[tool.ruff] +line-length = 100 +target-version = "py311" + +[tool.ruff.lint] +select = ["E", "F", "I", "W", "UP", "B", "SIM"] +ignore = ["E501"] + +[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 = ["services"] +addopts = "--import-mode=importlib" + +[dependency-groups] +dev = [ + "pytest>=9.0.3", + "pytest-asyncio>=1.3.0", + "pytest-httpx>=0.36.2", +]