-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (96 loc) · 2.72 KB
/
pyproject.toml
File metadata and controls
107 lines (96 loc) · 2.72 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
[project]
name = "docs2db-mcp-server"
version = "0.1.0"
description = "MCP server for docs2db-api RAG queries"
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.12,<3.14"
authors = [
{name = "RHEL Lightspeed Team", email = "rhel-lightspeed@redhat.com"}
]
keywords = [
"mcp",
"mcp-server",
"rag",
"retrieval-augmented-generation",
"rhel",
"documentation",
"search",
"ai",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"fastmcp >=3.3.1, <4",
"docs2db-api",
"pydantic >=2.13.4",
"pydantic-settings >=2.14.1",
]
[project.urls]
Homepage = "https://github.com/rhel-lightspeed/docs2db-mcp-server"
Documentation = "https://github.com/rhel-lightspeed/docs2db-mcp-server#readme"
Repository = "https://github.com/rhel-lightspeed/docs2db-mcp-server.git"
Issues = "https://github.com/rhel-lightspeed/docs2db-mcp-server/issues"
Changelog = "https://github.com/rhel-lightspeed/docs2db-mcp-server/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"pre-commit>=4.6.0",
"pyright>=1.1.409",
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.1.0",
"pytest-randomly>=4.1.0",
"ruff>=0.15.14",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/docs2db_mcp"]
[tool.pyright]
venvPath = "."
venv = ".venv"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--cov=docs2db_mcp --cov-report=term-missing"
markers = [
"no_ci: tests requiring external services (excluded from make test-ci)",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"S", # bandit (security)
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"TID252", # flake8-tidy-imports (relative imports)
"RUF100", # flag unnecessary noqa comments
]
ignore = [
"B9", # flake8-bugbear opinionated rules (B901-B911)
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "S104"]
[tool.ruff.lint.isort]
case-sensitive = false
force-single-line = true
lines-after-imports = 2
lines-between-types = 1
order-by-type = false