-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (87 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
96 lines (87 loc) · 2.34 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "contribai-python"
version = "4.1.0"
description = "[LEGACY] Python implementation of ContribAI — use the Rust version (v5.1.0+)"
readme = "python/README_PYTHON.md"
license = { text = "MIT" }
requires-python = ">=3.11"
authors = [{ name = "ContribAI Team" }]
keywords = ["ai", "agent", "github", "open-source", "contributions"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"httpx>=0.27,<1.0",
"pydantic>=2.5,<3.0",
"pydantic-settings>=2.1,<3.0",
"pyyaml>=6.0,<7.0",
"click>=8.1,<9.0",
"rich>=13.0,<15.0",
"gitpython>=3.1,<4.0",
"jinja2>=3.1,<4.0",
"aiosqlite>=0.19,<1.0",
"google-genai>=1.0,<2.0",
"openai>=1.10,<3.0",
"anthropic>=0.40,<1.0",
"fastapi>=0.115,<1.0",
"uvicorn>=0.32,<1.0",
"apscheduler>=3.10,<4.0",
"httpx>=0.27,<1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0,<10.0",
"pytest-asyncio>=0.23,<2.0",
"pytest-cov>=5.0,<8.0",
"ruff>=0.3,<1.0",
"respx>=0.21,<1.0",
]
local-llm = [
"ollama>=0.4,<1.0",
]
mcp = [
"mcp>=1.0,<2.0",
]
[project.scripts]
contribai-py = "contribai.cli.main:cli"
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "SIM", "RUF"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["python/tests"]
[tool.coverage.run]
source = ["contribai"]
omit = [
"python/contribai/web/*",
"python/contribai/scheduler/*",
"python/contribai/plugins/*",
"python/contribai/templates/*",
"python/contribai/notifications/*",
"python/contribai/cli/tui.py",
"python/contribai/core/leaderboard.py",
"python/contribai/core/profiles.py",
"python/contribai/core/quotas.py",
"python/contribai/llm/agents.py",
"python/contribai/llm/models.py",
"python/contribai/llm/router.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__",
"if TYPE_CHECKING",
]
[tool.hatch.build.targets.wheel]
packages = ["python/contribai"]