Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (102 loc) · 2.75 KB
/
Copy pathpyproject.toml
File metadata and controls
111 lines (102 loc) · 2.75 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["hatchling>=1.21"]
build-backend = "hatchling.build"
[project]
name = "recall-brain"
version = "0.8.0"
description = "Tool-agnostic memory storage + retrieval + runtime for AI coding assistants"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
keywords = ["memory", "retrieval", "rag", "bm25", "mcp", "ai-assistant"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: Text Processing :: Indexing",
]
dependencies = [
"qdrant-client[fastembed]>=1.13",
"typer>=0.12",
"pyyaml>=6.0",
"platformdirs>=4.0",
]
[project.optional-dependencies]
# `embeddings` is kept as a no-op alias so existing install commands don't break;
# Qdrant + FastEmbed are now hard deps because retrieval doesn't work without them.
embeddings = []
mcp = [
"mcp>=1.0",
]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"pytest-asyncio>=0.23",
"hypothesis>=6.100",
"ruff>=0.5",
]
[project.scripts]
recall = "recall.cli:main"
recall-mcp = "recall.mcp_server:main"
[tool.hatch.build.targets.wheel]
packages = ["recall", "runtime"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers --import-mode=importlib"
pythonpath = ["."]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"embeddings: tests requiring sentence-transformers (heavy)",
"mcp: tests requiring mcp library",
"timeout(seconds): per-test wall-clock bound (no-op without pytest-timeout)",
"machine: needs the developer's real HOME / machine state (network pip, real git config); excluded in CI",
]
[tool.coverage.run]
source = ["recall"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]
ignore = [
"E501",
# Ratchet list (2026-06): pre-existing debt, burn down and remove.
"E402",
"E741",
"E731",
"E702",
"B007",
"B008",
"B904",
"B905",
"F401",
"F841",
"UP007",
"UP035",
# Ratchet additions measured against ruff==0.15.12 (same debt, newer
# rule codes: UP006/UP045 split out of UP007; I001 import sorting).
"I001",
"E401",
"F541",
"F811",
"B033",
"UP006",
"UP012",
"UP024",
"UP037",
"UP045",
]