- Add project metadata with Python 3.11+ requirement - Configure dependencies: python-telegram-bot, sqlalchemy, httpx, aiosqlite - Add dev dependencies: pytest, pytest-cov, pytest-asyncio, ruff, pre-commit - Configure ruff with line-length 100, py311 target - Configure pytest with asyncio_mode auto - Use hatchling build backend with src layout Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
671 B
TOML
38 lines
671 B
TOML
[project]
|
|
name = "moai"
|
|
version = "0.1.0"
|
|
description = "Multi-AI collaborative brainstorming platform"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"python-telegram-bot",
|
|
"sqlalchemy",
|
|
"httpx",
|
|
"aiosqlite",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest",
|
|
"pytest-cov",
|
|
"pytest-asyncio",
|
|
"ruff",
|
|
"pre-commit",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/moai"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|