Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (49 loc) · 1.94 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (49 loc) · 1.94 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
[project]
name = "spec-driven-presentation-maker"
version = "1.0.0"
description = "AI-powered PowerPoint generation toolkit — from local CLI to full-stack web app"
requires-python = ">=3.11"
dependencies = []
# One workspace, one lock (uv.lock here) for every Python surface. Each artifact
# installs exactly these versions: servers/local via `uv run --directory servers/local`,
# the two runtime images and the API Lambda via `uv export --package <member>`.
# Tests run against the same lock, so what CI tests is what ships.
[tool.uv.workspace]
members = ["sdpm", "servers/local", "servers/remote", "agent", "api"]
[tool.uv.sources]
sdpm-skill = { workspace = true }
sdpm-agent = { workspace = true }
sdpm-api = { workspace = true }
sdpm-mcp-local = { workspace = true }
sdpm-mcp-server = { workspace = true }
[dependency-groups]
# Every member (so tests import any surface with its shipped dependencies) + tooling.
dev = [
"sdpm-skill",
"sdpm-agent",
"sdpm-api",
"sdpm-mcp-local",
"sdpm-mcp-server",
"pytest>=9.0.2",
"pytest-cov>=7.1.0",
"ruff",
]
[tool.ruff]
line-length = 120
src = ["sdpm", "servers/local", "servers/remote"]
[tool.ruff.lint]
# Explicit, so a ruff upgrade through uv.lock never changes the rule set (ruff 0.17
# widened its defaults). These are ruff's long-standing defaults.
select = ["E4", "E7", "E9", "F"]
[tool.pytest.ini_options]
testpaths = ["tests"]
# pytest-asyncio arrives as a runtime dependency of awslabs.aws-pricing-mcp-server (agent).
asyncio_default_fixture_loop_scope = "function"
filterwarnings = [
# Our own code must never emit FutureWarning (e.g. lxml element truth-testing)
"error::FutureWarning",
# Upstream-only: defusedxml's own __init__ imports its deprecated
# cElementTree shim on Python 3.12. Do NOT widen this filter — the
# security monkey patch (defuse_stdlib) must stay under scrutiny.
"ignore:defusedxml.cElementTree is deprecated:DeprecationWarning:defusedxml",
]