[project]
name = "ragflow-claude-mcp"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "Marius Ciepluch", email = "11855163+norandom@users.noreply.github.com" }
]
requires-python = ">=3.12"
dependencies = [
"aiohttp>=3.12.13",
"mcp>=1.10.1",
"dspy-ai>=2.5.0",
"dspy",
]
[project.optional-dependencies]
dev = [
"pytest>=8.4.1",
"pytest-asyncio>=1.0.0",
"pytest-mock>=3.14.1",
"pytest-cov>=4.0.0",
]
[project.scripts]
ragflow-claude-mcp = "ragflow_claude_mcp.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv.sources]
dspy = { git = "https://github.com/stanfordnlp/dspy.git" }
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--strict-config",
"--verbose",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/test_*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[tool.coverage.html]
directory = "htmlcov"