-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (36 loc) · 871 Bytes
/
Copy pathpyproject.toml
File metadata and controls
44 lines (36 loc) · 871 Bytes
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
[project]
name = "green-agent"
version = "0.1.0"
description = "Small, modular coding-agent harness for Python"
license = "MIT"
requires-python = ">=3.11"
dependencies = ["openai>=1.50"]
[project.optional-dependencies]
tui = [
"textual>=1.0",
]
[dependency-groups]
dev = [
"pytest>=8",
"ruff>=0.6",
"mypy>=1.10",
"textual>=1.0",
]
[tool.uv]
package = false
# Used by the agent's own `check` tool when it works on this repository.
[tool.green-agent]
check = "ruff check . && ruff format --check . && mypy && pytest -q"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[tool.ruff]
target-version = "py311"
line-length = 80
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.11"
files = ["agent", "tools", "cli.py", "start.py", "tui.py"]
strict = true
ignore_missing_imports = true