-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (59 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
68 lines (59 loc) · 1.31 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
[project]
name = "revu"
version = "1.5.0"
description = "Self-hosted AI code review for your Pull Requests."
authors = [
{ name = "proDream", email = "sushkoos@gmail.com" }
]
requires-python = ">=3.13"
dependencies = [
"aiosqlite>=0.21.0",
"dynaconf>=3.2.11",
"fastapi[standard]>=0.118.0",
"gigachat>=0.1.42.post2",
"hatchling>=1.27.0",
"httpx>=0.28.1",
"openai>=2.0.1",
"unidiff>=0.7.5",
"yandex-cloud-ml-sdk>=0.16.0",
]
[dependency-groups]
dev = [
"pre-commit>=4.3.0",
"ruff>=0.13.3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/revu"]
[project.scripts]
app = "revu.runner:run"
[project.optional-dependencies]
pytest = [
"coverage>=7.10.7",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"pytest-cov>=7.0.0",
"respx>=0.22.0",
]
[tool.ruff]
line-length = 120
indent-width = 4
[tool.pytest.ini_options]
addopts = [
"--strict-markers",
"--strict-config",
"-ra",
"--tb=short",
"--cov=src",
"--cov-report=term-missing:skip-covered",
"--cov-fail-under=80"
]
testpaths = ["tests"]
markers = [
"unit: Unit tests for domain logic",
"integration: Integration tests for application layer",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"