forked from antoinebou12/uml-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (83 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
93 lines (83 loc) · 1.97 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "uml-mcp"
version = "1.2.0"
description = "UML diagram generation server with MCP interface"
authors = ["Your Name <your.email@example.com>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/yourusername/uml-mcp"
packages = [
{ include = "mcp" },
{ include = "kroki" },
{ include = "mermaid" },
{ include = "plantuml" },
{ include = "D2" },
{ include = "ai_uml" }
]
[tool.poetry.dependencies]
python = "^3.9"
fastapi = "^0.103.1"
uvicorn = "^0.23.2"
pydantic = "^2.3.0"
rich = "^13.5.2"
httpx = "^0.25.0"
typer = "^0.9.0"
python-multipart = "^0.0.9"
python-dotenv = "^1.0.0"
starlette = "^0.27.0"
jinja2 = "^3.1.2"
aiofiles = "^23.2.1"
requests = "^2.28.0"
python-dateutil = "^2.8.2"
# Add diagram-related dependencies
graphviz = "^0.20.1"
pillow = "^10.1.0"
# If fastmcp is not your own module but a dependency
fastmcp = "^0.4.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
pre-commit = "^3.4.0"
black = "^23.9.1"
isort = "^5.12.0"
flake8 = "^6.1.0"
mypy = "^1.5.1"
pytest-asyncio = "^0.21.1"
[tool.poetry.scripts]
mcp-server = "mcp.core.server:main"
uml-mcp = "mcp.cli:app"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_functions = "test_*"
python_classes = "Test*"
addopts = "--cov=mcp --cov-report=term --cov-report=html"
[tool.black]
line-length = 88
target-version = ["py39"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
[tool.coverage.run]
source = ["mcp"]
omit = ["tests/*", "*/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]