-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (51 loc) · 1.15 KB
/
pyproject.toml
File metadata and controls
61 lines (51 loc) · 1.15 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
[project]
name = "cr"
version = "0.1.0"
description = "Gemini RLM Codebase Review Tool"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "Codebase Review Team" }
]
keywords = ["gemini", "llm", "code-review", "dspy", "rlm"]
dependencies = [
"dspy>=3.1.2",
"rich>=13.0.0",
"python-dotenv>=1.0.0",
"httpx>=0.28.1",
"pytest-asyncio>=1.3.0",
"fastapi>=0.128.0",
"uvicorn>=0.40.0",
"sse-starlette>=3.2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
[project.scripts]
cr = "cr.cli:main"
asyncreview = "cli.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["cr", "cli"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]