-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (94 loc) · 2.03 KB
/
pyproject.toml
File metadata and controls
104 lines (94 loc) · 2.03 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
94
95
96
97
98
99
100
101
102
103
104
[build-system]
requires = ["hatchling>=1.26"]
build-backend = "hatchling.build"
[project]
name = "judge_micro"
version = "0.0.5"
requires-python = ">=3.10, <3.14"
description = ""
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [
{ name = "Xuan‑You Lin", email = "a0985821880@gmail.com" }
]
maintainers = [
{ name = "Xuan‑You Lin", email = "a0985821880@gmail.com" }
]
dependencies = [
"pydantic",
"python-dotenv",
"docker",
"paramiko",
# Web Framework
"fastapi",
"uvicorn[standard]",
"websockets<13.0", # Use websockets 12.x to avoid deprecation warnings
"gunicorn",
"python-multipart",
"httpx",
# MCP
"fastmcp",
]
[dependency-groups]
test = [
"pytest",
"pytest-cov",
"pytest-asyncio",
]
dev = [
{ include-group = "test" },
"ipykernel",
"ipywidgets",
"nest_asyncio",
"jupyterlab_widgets",
]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = [
"-ra",
"-q",
"--strict-markers",
"--strict-config",
"--disable-warnings",
"--tb=short"
]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"mcp: marks tests related to MCP functionality",
"api: marks tests related to API functionality",
"docker: marks tests that require Docker",
"network: marks tests that require network access",
]
asyncio_mode = "auto"
filterwarnings = [
"ignore::UserWarning",
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/test_*.py",
"*/__pycache__/*",
"*/migrations/*",
"*/venv/*",
"*/.venv/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
precision = 2
show_missing = true