-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (49 loc) · 1.25 KB
/
pyproject.toml
File metadata and controls
59 lines (49 loc) · 1.25 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
[project]
name = "mcp-forge-python"
version = "0.1.0"
description = "A Python port of the MCP Forge Go project."
authors = [{ name = "YOUR_NAME", email = "your.email@example.com" }]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi",
"uvicorn[standard]",
"pydantic",
"pydantic-settings",
"tomli",
"mcp[cli]",
"httpx",
"PyJWT",
"requests",
"cryptography>=46.0.3",
]
[dependency-groups]
dev = [{ include-group = "lint" }, { include-group = "test" }]
lint = ["ruff", "pyright"]
test = ["pytest", "pytest-asyncio", "coverage", "pytest-benchmark"]
[project.scripts]
mcp-python = "mcp_app.main:main"
http = "mcp_app.main:main_http"
stdio = "mcp_app.main:main_stdio"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-dir]
"" = "src"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D203", "D212", "PLR0913", "C901", "PLR0912", "COM812"]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["S101", "SLF001"]
[tool.coverage.run]
branch = false
parallel = true
source = ["src", "tests"]
[tool.coverage.report]
show_missing = true
skip_covered = true
omit = ["src/mcp_app/__init__.py"]