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:
parent
c48eb1cea7
commit
39b1781f19
1 changed files with 38 additions and 0 deletions
38
pyproject.toml
Normal file
38
pyproject.toml
Normal 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"
|
||||
Loading…
Add table
Reference in a new issue