- Surface Protocol: unified IncomingMessage/OutgoingUI/ChatContext - Telegram: Forum Topics (group + topics per chat) - Matrix: Space + rooms per chat - MockPlatformClient with PlatformClient Protocol - docs: surface-protocol, telegram/matrix specs, api-contract, claude-code-guide - project scaffold: src/, tests/, pyproject.toml Co-Authored-By: Claude Sonnet 4-6 <noreply@anthropic.com>
38 lines
730 B
TOML
38 lines
730 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.backends.legacy:build"
|
|
|
|
[project]
|
|
name = "surfaces-bot"
|
|
version = "0.1.0"
|
|
description = "Lambda Lab 3.0 — Telegram и Matrix боты"
|
|
requires-python = ">=3.11"
|
|
|
|
dependencies = [
|
|
"aiogram>=3.4,<4",
|
|
"matrix-nio>=0.21",
|
|
"pydantic>=2.5",
|
|
"structlog>=24.1",
|
|
"python-dotenv>=1.0",
|
|
"httpx>=0.27",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.23",
|
|
"pytest-cov>=4.1",
|
|
"ruff>=0.3",
|
|
"mypy>=1.8",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B"]
|