-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (61 loc) · 1.5 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (61 loc) · 1.5 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
64
65
66
67
68
69
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "smp"
version = "0.1.0"
description = "Structural Memory Protocol — graph-based codebase intelligence for AI agents"
requires-python = ">=3.11"
license = "MIT"
authors = [{ name = "SMP Team" }]
dependencies = [
"msgspec>=0.19",
"fastapi>=0.115",
"uvicorn[standard]>=0.34",
"httpx>=0.27",
"tree-sitter>=0.24",
"tree-sitter-python>=0.23",
"tree-sitter-javascript>=0.21",
"tree-sitter-typescript>=0.23",
"tree-sitter-java>=0.23",
"tree-sitter-c>=0.23",
"tree-sitter-cpp>=0.23",
"tree-sitter-c-sharp>=0.23",
"tree-sitter-go>=0.23",
"tree-sitter-rust>=0.23",
"tree-sitter-php>=0.23",
"tree-sitter-swift>=0.0.1",
"tree-sitter-kotlin>=1.0",
"tree-sitter-ruby>=0.23",
"tree-sitter-matlab>=1.0",
"python-dotenv>=1.0",
"structlog>=24.0",
"watchdog>=4.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"httpx>=0.27",
"ruff>=0.8",
"mypy>=1.13",
]
[tool.hatch.build.targets.wheel]
packages = ["smp"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "SIM", "ANN"]
ignore = ["ANN101", "ANN102", "ANN401"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
exclude = ["tests/results"]
[project.scripts]
smp = "smp.cli:main"