build(01-01): create pyproject.toml with dependencies and tool config

- 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>
This commit is contained in:
Mikkel Georgsen 2026-01-16 14:59:40 +00:00
parent c48eb1cea7
commit 39b1781f19

38
pyproject.toml Normal file
View file

@ -0,0 +1,38 @@
[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"