-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (54 loc) · 1.37 KB
/
pyproject.toml
File metadata and controls
63 lines (54 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[project]
name = "botnotes"
version = "0.1.0"
description = "AI-friendly note-taking solution with MCP integration"
readme = "README.md"
requires-python = ">=3.14.2"
dependencies = [
"fastmcp>=2.0.0",
"tantivy>=0.22.0",
"pydantic>=2.0.0",
"fastapi>=0.115.0",
"uvicorn>=0.32.0",
"jinja2>=3.1.0",
"mistune>=3.0.0",
"nh3>=0.2.0",
"tomli-w>=1.0.0",
]
[project.scripts]
botnotes = "botnotes.server:main"
botnotes-web = "botnotes.web.app:main"
botnotes-admin = "botnotes.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/botnotes"]
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"ruff>=0.8.0",
"mypy>=1.13.0",
"httpx>=0.28.0",
"poethepoet>=0.31.0",
]
[tool.poe.tasks]
check = { sequence = ["lint", "typecheck", "test"], help = "Run all checks" }
lint = { cmd = "ruff check src tests", help = "Run ruff linter" }
typecheck = { cmd = "mypy src", help = "Run mypy type checker" }
test = { cmd = "pytest", help = "Run tests" }
[tool.ruff]
line-length = 100
target-version = "py314"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.14"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"