-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
184 lines (165 loc) · 4.4 KB
/
pyproject.toml
File metadata and controls
184 lines (165 loc) · 4.4 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
[project]
name = "open-orchestrator"
version = "0.4.0"
description = "Git Worktree + AI agent orchestration tool for parallel development workflows"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Pedro Lopes"}
]
keywords = ["git", "worktree", "claude", "tmux", "orchestration"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
"click>=8.1.0",
"pydantic>=2.0.0",
"rich>=13.0.0",
"textual>=1.0.0",
"toml>=0.10.0",
"gitpython>=3.1.0",
"libtmux>=0.25.0",
]
[project.urls]
Homepage = "https://github.com/gitpcl/openorchestrator"
Repository = "https://github.com/gitpcl/openorchestrator"
Documentation = "https://github.com/gitpcl/openorchestrator#readme"
Changelog = "https://github.com/gitpcl/openorchestrator/releases"
"Bug Tracker" = "https://github.com/gitpcl/openorchestrator/issues"
[project.optional-dependencies]
agno = [
"agno>=1.0.0",
]
mcp = [
"mcp>=1.0.0",
]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
"tomli>=2.0.0; python_version < '3.11'",
"pyyaml>=6.0.0",
"types-pyyaml>=6.0.0",
"types-toml>=0.10.0",
"build>=1.0.0",
"twine>=5.0.0",
]
[project.scripts]
owt = "open_orchestrator.cli:main"
owt-popup = "open_orchestrator.popup.picker:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/open_orchestrator"]
artifacts = ["src/open_orchestrator/skills/**/*.md"]
[tool.hatch.build.targets.sdist]
include = [
"src/",
"tests/",
"README.md",
"LICENSE",
"pyproject.toml",
]
exclude = [
"*.pyc",
"__pycache__",
".git",
".github",
".pytest_cache",
".mypy_cache",
".ruff_cache",
"htmlcov",
"*.egg-info",
]
[tool.ruff]
line-length = 130
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "S"]
ignore = [
"S101", # assert usage - standard in pytest tests
"S108", # insecure temp file usage - acceptable in test fixtures with mocks
"S603", # subprocess call - false positive when using list arguments
"S607", # partial executable path - acceptable for well-known system commands (git, tmux)
"S110", # try-except-pass - acceptable for best-effort cleanup operations
]
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = ["mcp.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["open_orchestrator.core.mcp_peer"]
disallow_untyped_decorators = false
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
asyncio_mode = "auto"
markers = [
"gh_cli: Tests that require GitHub CLI (gh) to be installed or mocked",
"tmux: Tests that require tmux to be installed or mocked",
"slow: Tests that take longer than 1 second to execute",
]
[tool.coverage.run]
source = ["src/open_orchestrator"]
branch = true
parallel = true
omit = [
"*/tests/*",
"*/test_*.py",
"*/__pycache__/*",
"*/site-packages/*",
]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[tool.coverage.html]
directory = "htmlcov"
[tool.coverage.xml]
output = "coverage.xml"
[tool.coverage.paths]
source = [
"src/open_orchestrator",
"*/site-packages/open_orchestrator",
]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"types-toml>=0.10.8.20240310",
]
[tool.uv]
# Override global uv.toml exclude-newer so security patches (cryptography>=46.0.6,
# requests>=2.33.0, pygments>=2.20.0) can be picked up by the resolver.
exclude-newer = "2026-04-07T23:59:59Z"