-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (46 loc) · 1.05 KB
/
Copy pathpyproject.toml
File metadata and controls
54 lines (46 loc) · 1.05 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ai-code-reviewer"
version = "0.1.0"
description = "AI-powered code review GitHub Action (Anthropic, OpenAI, Gemini)"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
dependencies = [
"anthropic>=0.40.0",
"openai>=1.50.0",
"google-genai>=1.0.0",
"pygithub>=2.4.0",
"httpx>=0.27.0",
"pydantic>=2.9.0",
"pydantic-settings>=2.5.0",
"unidiff>=0.7.5",
"pyyaml>=6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-mock>=3.14.0",
"ruff>=0.7.0",
"mypy>=1.12.0",
"types-PyYAML>=6.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/ai_reviewer"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.mypy]
python_version = "3.11"
strict = true
[[tool.mypy.overrides]]
module = ["google.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]