-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (51 loc) · 1.53 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (51 loc) · 1.53 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ue-bridge"
dynamic = ["version"]
description = "MCP server bridging Claude Code to Unreal Engine 5 via Remote Control API"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
dependencies = [
"mcp>=1.0.0,<2.0.0",
"httpx>=0.27.0,<1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
]
usd = [
"usd-core>=24.0",
]
[project.scripts]
ue-mcp = "ue_mcp.mcp_server:main"
[tool.hatch.version]
# Single version source; the tag gate is `git tag vX.Y.Z` == this value.
path = "ue_mcp/__version__.py"
[tool.hatch.build.targets.wheel]
# Flat layout: the distribution name (ue-bridge) has no matching directory, so the
# first-party packages must be named explicitly — newer hatchling no longer
# auto-detects them, which broke `pip install -e .`.
packages = ["ue_mcp", "remote_control", "x3d_bridge"]
[tool.pytest.ini_options]
asyncio_mode = "strict"
testpaths = ["tests"]
[tool.coverage.run]
source = ["ue_mcp", "remote_control"]
[tool.coverage.report]
# 70% floor: the HTTP clients and the MCP entry point are integration/mock-tested,
# not unit-covered, so the weighted average sits in the low-70s. This gate guards
# against regression without demanding unrealistic unit coverage of glue code.
fail_under = 70
show_missing = true
skip_empty = true
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B"]
ignore = ["E501"]