6
This commit is contained in:
+10
-1
@@ -12,8 +12,17 @@ dependencies = [
|
||||
dev = [
|
||||
"optuna>=5.0.0",
|
||||
"pytest>=8",
|
||||
# 独立评测机(自建模拟器):仅测试侧依赖,运行时代码零导入(懒加载 + 守卫测试)
|
||||
"mcm26b-referee",
|
||||
]
|
||||
|
||||
# uv 工作区:referee/ 是独立包(零第三方依赖、不依赖 mcm26b),双方仅通过 HTTP 协议耦合
|
||||
[tool.uv.workspace]
|
||||
members = ["referee"]
|
||||
|
||||
[tool.uv.sources]
|
||||
mcm26b-referee = { workspace = true }
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
@@ -25,4 +34,4 @@ packages = ["src/mcm26b"]
|
||||
mcm26b = "mcm26b.cli:main"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
testpaths = ["tests", "referee/tests"]
|
||||
|
||||
Reference in New Issue
Block a user