-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (83 loc) · 2.25 KB
/
pyproject.toml
File metadata and controls
91 lines (83 loc) · 2.25 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
[project]
name = "openrabbit"
version = "0.1.0"
description = "AI-powered GitHub PR reviewer — self-hosted, open-source"
requires-python = ">=3.12,<4"
readme = "README.md"
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"fastapi>=0.115,<0.116",
"uvicorn[standard]>=0.30,<0.31",
"celery[redis]>=5.4,<6",
"redis>=5.0,<6",
"sqlalchemy[asyncio]>=2.0,<3",
"asyncpg>=0.29,<0.30",
"psycopg2-binary>=2.9,<3",
"alembic>=1.13,<2",
"anthropic>=0.40,<0.41",
"google-genai>=1.0,<2",
"PyGithub>=2.4,<3",
"httpx>=0.27,<0.28",
"openai>=1.6,<2",
"groq>=1.0,<2",
"pydantic-settings>=2.5,<3",
"python-multipart>=0.0.12,<0.0.13",
"python-jose[cryptography]>=3.3,<4",
"structlog>=24.4,<25",
"tree-sitter>=0.23,<0.24",
"tree-sitter-python>=0.23,<0.24",
"tree-sitter-javascript>=0.23,<0.24",
"tree-sitter-typescript>=0.23,<0.24",
"tree-sitter-go>=0.23,<0.24",
"tree-sitter-rust>=0.23,<0.24",
"tree-sitter-java>=0.23,<0.24",
"tiktoken>=0.7,<0.8",
"qdrant-client>=1.10,<2",
"tenacity>=8.0,<10",
"unicorn>=2.1.4",
]
[dependency-groups]
dev = [
"pytest>=8.3,<9",
"pytest-asyncio>=0.24,<0.25",
"pytest-mock>=3.14,<4",
"pytest-cov>=5.0,<6",
"aiosqlite>=0.19,<0.20",
"ruff>=0.7,<0.8",
"mypy>=1.11,<2",
"black>=24.10,<25",
]
[tool.uv]
default-groups = "all"
[tool.uv.build-backend]
module-name = ["app"]
module-root = ""
[build-system]
requires = ["uv_build>=0.10.9,<0.11.0"]
build-backend = "uv_build"
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
python_version = "3.12"
strict = true
ignore_missing_imports = true
[tool.black]
line-length = 100
target-version = ["py312"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-m 'not e2e'"
markers = [
"unit: Pure unit tests with no I/O or external services",
"integration: Tests with in-memory services (Qdrant, SQLite, Redis)",
"e2e: End-to-end tests requiring Docker services (PostgreSQL, Redis, Qdrant)",
"slow: Tests that take more than 5 seconds",
]