-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (45 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
53 lines (45 loc) · 1.39 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
# Workspace root — not published to PyPI.
# Individual packages live under packages/ and are published separately.
#
# packages/codesteward-graph/ → PyPI: codesteward-graph
# packages/codesteward-mcp/ → PyPI: codesteward-mcp
[tool.uv]
package = false
[tool.uv.workspace]
members = [
"packages/codesteward-graph",
"packages/codesteward-mcp",
]
# ── Dev / test dependencies (installed in the workspace venv) ─────────────────
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.4",
"mypy>=1.9",
"types-PyYAML",
]
# ── Shared tool configuration ─────────────────────────────────────────────────
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.12"
strict = true
ignore_missing_imports = true
mypy_path = "packages/codesteward-graph/src:packages/codesteward-mcp/src"
namespace_packages = true
explicit_package_bases = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = [
"--cov=packages/codesteward-graph/src/codesteward",
"--cov=packages/codesteward-mcp/src/codesteward",
"--cov-report=term-missing",
"--cov-fail-under=45",
]