-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (105 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
117 lines (105 loc) · 1.84 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
112
113
114
115
116
117
[project]
name = "contextwell"
version = "0.1.0"
description = "Persistent semantic memory MCP server (Python + Rust/PyO3)"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastmcp>=3.2.0",
"authlib>=1.6.11",
"cryptography>=46.0.7",
"lancedb==0.30.0",
"sentence-transformers>=5.3.0",
"python-multipart>=0.0.27",
"urllib3>=2.7.0",
]
[project.optional-dependencies]
hybrid = ["rank-bm25"]
[project.scripts]
contextwell = "contextwell.server:run"
[dependency-groups]
dev = [
"maturin>=1.12.6",
"pip-audit>=2.0.0",
"pytest>=9.0.2",
"pytest-cov>=7.1.0",
"rank-bm25>=0.2.2",
"ruff>=0.15.8",
]
[build-system]
requires = ["maturin>=1.8,<2.0"]
build-backend = "maturin"
[tool.maturin]
python-source = "python"
module-name = "contextwell._core"
features = ["pyo3/extension-module"]
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = [
"F",
"E",
"W",
"I",
"N",
"UP",
"YTT",
"ANN",
"ASYNC",
"S",
"FBT",
"B",
"A",
"COM",
"C4",
"DTZ",
"EM",
"EXE",
"FA",
"ISC",
"ICN",
"LOG",
"G",
"INP",
"PIE",
"T20",
"PYI",
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TCH",
"INT",
"ARG",
"PTH",
"PD",
"PGH",
"PL",
"TRY",
"FLY",
"NPY",
"PERF",
"FURB",
"RUF",
]
ignore = ["FBT001", "FBT002", "S603", "G004", "S607", "COM812"]
unfixable = [
# Don't touch unused imports
"F401",
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "PLR2004", "ANN", "T201"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.pylint]
max-args = 8
[tool.coverage.run]
source = ["contextwell"]
omit = ["tests/*", "*/__pycache__/*"]
[tool.coverage.report]
skip_empty = true
show_missing = true