-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (78 loc) · 2.35 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (78 loc) · 2.35 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "docs-haven"
version = "0.9.0"
description = "Local knowledge base for AI agents with SQLite FTS5 search, URI routing, and conflict detection"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "DocsHaven Contributors" }
]
keywords = ["knowledge-base", "rag", "mcp", "ai-agent", "search", "fts5"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT 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 :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
# NOTE: 3 mcp vulnerabilities with "Inconclusive" reachability.
# Latest stable (1.28.1) does not yet fix them. Upgrade when patches land.
"mcp[cli]>=1.27,<3",
]
[project.urls]
Homepage = "https://github.com/Cipher208/docs-haven"
Documentation = "https://github.com/Cipher208/docs-haven/tree/main/docs"
Repository = "https://github.com/Cipher208/docs-haven"
Issues = "https://github.com/Cipher208/docs-haven/issues"
Changelog = "https://github.com/Cipher208/docs-haven/blob/main/CHANGELOG.md"
[project.scripts]
docs-haven = "cli:main"
docs-haven-serve = "server:main"
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"pytest-timeout>=2.0",
"pytest-cov>=5.0",
]
[tool.hatch.build.targets.wheel]
packages = ["."]
exclude = [
"tests/",
"docs/",
".github/",
".repowise/",
"benchmark.py",
"*.db",
"*.db-journal",
"*.db-wal",
"__pycache__/",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
timeout = 30
addopts = "--cov=storage --cov=server --cov=sync --cov=conflicts --cov=uri --cov=cli --cov=result --cov-report=term-missing"
[tool.ruff]
line-length = 150
target-version = "py310"
extend-exclude = ["*.md"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
ignore = ["E402", "E501"]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
check_untyped_defs = true
[tool.skylos.gate]
fail_on = ["critical", "high"]
ignore_rules = ["SKY-D324", "SKY-D325"] # symlink in tests = false positive