-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (68 loc) · 1.72 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (68 loc) · 1.72 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
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "autocode-agent"
version = "0.3.0"
description = "跨平台、可扩展的终端 AI 编程助手"
readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE" }
authors = [{ name = "AutoCode Contributors" }]
keywords = ["ai", "agent", "cli", "tui", "mcp", "coding-assistant"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
]
dependencies = [
"httpx>=0.27,<1",
"pydantic>=2.8,<3",
"PyYAML>=6.0,<7",
"jsonschema>=4.23,<5",
"prompt_toolkit>=3.0.48,<4",
]
[project.optional-dependencies]
dev = [
"pytest>=8.2,<9",
"pytest-asyncio>=0.23,<1",
"pytest-cov>=5,<7",
"ruff>=0.6,<1",
"mypy>=1.11,<2",
"types-PyYAML>=6.0,<7",
"types-jsonschema>=4.23,<5",
"pyinstaller>=6.10,<7",
]
[project.scripts]
autocode = "autocode.__main__:main"
codeagent = "autocode.__main__:main"
[tool.hatch.build.targets.wheel]
packages = ["src/autocode"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-ra --strict-markers"
markers = [
"e2e: 端到端终端流程测试",
]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "ASYNC"]
[tool.mypy]
python_version = "3.11"
strict = true
packages = ["autocode"]
[tool.coverage.run]
omit = [
"src/autocode/__main__.py",
"src/autocode/tools/mcp.py",
]