-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
58 lines (50 loc) · 1.29 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "memory-mcp-server"
version = "0.2.0"
description = "MCP server for managing Claude's memory and knowledge graph"
requires-python = ">=3.12"
dependencies = [
"aiofiles",
"loguru>=0.7.3",
"mcp[cli]>=1.2.0",
"memory-mcp-server",
"ruff>=0.9.4",
"thefuzz[speedup]>=0.20.0", # Includes python-Levenshtein for performance
]
[project.optional-dependencies]
test = ["pytest", "pytest-asyncio", "pytest-cov"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-q -ra"
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
plugins = []
[[tool.mypy.overrides]]
module = ["pytest.*", "mcp.*", "aiofiles.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_decorators = false
[tool.ruff]
select = ["E", "F", "B", "I"]
ignore = []
line-length = 88
target-version = "py312"
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]