forked from Dicklesworthstone/claude_code_agent_farm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
169 lines (150 loc) · 3.88 KB
/
pyproject.toml
File metadata and controls
169 lines (150 loc) · 3.88 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "claude-code-agent-farm"
version = "1.0.0"
description = "Orchestrate multiple Claude Code agents for parallel code fixing"
readme = "README.md"
requires-python = ">=3.13"
license = { text = "MIT" }
authors = [
{ name = "Jeffrey Emanuel", email = "jeffrey.emanuel@gmail.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: System :: Monitoring",
"Topic :: Utilities",
"Typing :: Typed",
]
# Core dependencies
dependencies = [
"typer>=0.15.0",
"rich>=13.7.0",
]
[project.optional-dependencies]
# Development dependencies
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"ruff>=0.12.0",
"mypy>=1.7.0",
"pre-commit>=3.0.0",
]
# Documentation dependencies
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.0.0",
"mkdocstrings[python]>=0.24.0",
]
# All optional dependencies
all = [
"claude-code-agent-farm[dev,docs]",
]
[project.scripts]
claude-code-agent-farm = "claude_code_agent_farm:app"
[project.urls]
Homepage = "https://github.com/Dicklesworthstone/claude_code_agent_farm"
Repository = "https://github.com/Dicklesworthstone/claude_code_agent_farm"
Issues = "https://github.com/Dicklesworthstone/claude_code_agent_farm/issues"
Documentation = "https://github.com/Dicklesworthstone/claude_code_agent_farm#readme"
# Configure Hatchling
[tool.hatch.build.targets.wheel]
packages = ["claude_code_agent_farm.py"]
[tool.hatch.build.targets.sdist]
exclude = [
"/.venv",
"/.vscode",
"/.git",
"/.github",
"/__pycache__",
"/*.pyc",
"/*.pyo",
"/*.pyd",
".env",
".envrc",
"tests/*",
"docs/*",
"*.log",
".DS_Store",
".direnv/",
"*.swp",
"*.swo",
"*~",
]
# --- Tool Configurations ---
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C4", # flake8-comprehensions
"B", # flake8-bugbear
"A", # flake8-builtins
"RUF", # Ruff-specific rules
"ASYNC", # flake8-async
"FA", # flake8-future-annotations
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
]
ignore = [
"E501", # Line too long (handled by formatter)
"B008", # Do not perform function calls in argument defaults
"A003", # Class attribute shadowing builtin
"SIM108", # Use ternary operator (sometimes less readable)
"W293", # Blank line contains whitespace
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
[tool.ruff.lint.isort]
known-first-party = ["claude_code_agent_farm"]
combine-as-imports = true
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
strict_optional = true
disallow_untyped_defs = false
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = [
"--strict-markers",
"--cov=claude_code_agent_farm",
"--cov-report=term-missing",
"--cov-report=html",
]
[tool.coverage.run]
source = ["claude_code_agent_farm"]
omit = ["tests/*", "*/conftest.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
# --- uv specific configuration ---
[tool.uv]
package = true