-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (123 loc) · 3.2 KB
/
pyproject.toml
File metadata and controls
139 lines (123 loc) · 3.2 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "plan-manager"
version = "0.11.0"
description = "AI-assisted planning (project management) with MCP interface"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "sgrade"}
]
keywords = ["planning", "project-management", "ai", "mcp", "model-context-protocol"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.13"
dependencies = [
"PyYAML>=6.0", # YAML file parsing for plan data
"mcp[cli]>=1.17.0", # MCP SDK for server functionality
"starlette", # ASGI framework used by FastMCP
"uvicorn[standard]", # ASGI server for running the MCP server
"pydantic>=2.0", # Schema validation for story and Plan models
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=4.1",
"pytest-asyncio>=0.23",
"mypy>=1.8",
"ruff>=0.3",
"bandit>=1.7",
"pre-commit>=3.6",
"twine>=5.0",
"types-PyYAML>=6.0",
]
[project.urls]
Homepage = "https://github.com/sgrade/plan-manager"
Repository = "https://github.com/sgrade/plan-manager"
Issues = "https://github.com/sgrade/plan-manager/issues"
[project.scripts]
pm = "plan_manager.__main__:main"
[tool.uv]
link-mode = "copy"
[tool.hatch.build.targets.wheel]
packages = ["src/plan_manager"]
[tool.hatchling.build.targets.wheel.force-include]
"docs" = "plan_manager/docs"
# Pytest configuration
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
pythonpath = ["src"]
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
"--showlocals",
]
markers = [
"integration: integration tests (may touch filesystem or run end-to-end)",
]
# Coverage configuration
[tool.coverage.run]
source = ["src/plan_manager"]
branch = true
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/.venv/*",
]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if TYPE_CHECKING:",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"@abstractmethod",
]
[tool.coverage.html]
directory = "htmlcov"
# Mypy configuration
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = false
disallow_subclassing_any = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
pretty = true
show_error_codes = true
show_error_context = true
show_column_numbers = true
[[tool.mypy.overrides]]
module = "mcp.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "starlette.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "uvicorn.*"
ignore_missing_imports = true
# Bandit configuration
[tool.bandit]
exclude_dirs = ["tests", ".venv"]
skips = ["B101"] # assert_used - we use asserts in tests