-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (131 loc) · 3.62 KB
/
pyproject.toml
File metadata and controls
143 lines (131 loc) · 3.62 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
140
141
142
143
[project]
name = "edison"
version = "1.0.0"
description = "AI-automated project management framework"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Edison Team" }
]
keywords = ["ai", "automation", "project-management", "agents"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"PyYAML>=6.0",
"jsonschema>=4.0",
"Jinja2>=3.0",
"psutil>=5.9.0",
]
[project.optional-dependencies]
tui = ["prompt_toolkit>=3.0"]
dev = [
"build>=1.0",
"pytest>=7.0",
"pytest-xdist>=3.0",
"pytest-cov>=4.0",
"pytest-asyncio>=0.21.0",
"mypy>=1.0",
"ruff>=0.1.0",
"types-PyYAML>=6.0",
"types-psutil>=5.9.0",
]
[project.scripts]
edison = "edison.cli._dispatcher:main"
[project.urls]
Homepage = "https://github.com/yourorg/edison"
Documentation = "https://github.com/yourorg/edison#readme"
Repository = "https://github.com/yourorg/edison"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/edison"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
"/README.md",
"/pyproject.toml",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short --strict-markers --import-mode=importlib"
norecursedirs = ["helpers"]
markers = [
"integration: Integration tests (multiple components working together)",
"e2e: End-to-end tests (full system tests)",
"slow: Tests taking more than 2 seconds",
"fast: Fast tests (under 1 second)",
"requires_git: Tests that require git operations and git to be installed",
"requires_subprocess: Tests that spawn subprocesses",
"requires_pnpm: Tests that require pnpm/node",
"worktree: Tests related to git worktree functionality",
"session: Tests related to session management",
"task: Tests related to task lifecycle",
"qa: Tests related to QA/validation",
"context7: Tests related to Context7 enforcement",
"golden_path: Golden-path example tests showing correct patterns",
"scenario: High-level scenario coverage tests",
"edge_case: Edge case and error handling tests",
"taskstate: Tests that validate task state coverage",
"guards: Tests focused on guard and state-machine validation",
"bundle: Bundle/aggregate validation tests",
"security: Tests focused on security and invariant enforcement",
]
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
exclude = [
"tests/",
"build/",
"dist/",
"src/edison/data/",
]
[tool.ruff]
target-version = "py310"
line-length = 100
exclude = [
".git",
"__pycache__",
"build",
"dist",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.coverage.run]
source = ["src/edison"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]