-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (58 loc) · 1.25 KB
/
pyproject.toml
File metadata and controls
65 lines (58 loc) · 1.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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "assert-review"
version = "0.1.0"
requires-python = ">=3.12"
description = "AI-powered code review interface"
readme = "README.md"
[tool.hatch.build.targets.wheel]
packages = ["ml", "apps/api"]
[project.optional-dependencies]
api = [
"fastapi>=0.111.0",
"uvicorn[standard]>=0.29.0",
"python-dotenv>=1.0.0",
"pydantic>=2.7.0",
"pydantic-settings>=2.2.0",
"httpx>=0.27.0",
]
ml = [
"torch>=2.2.0",
"transformers>=4.40.0",
"datasets>=2.19.0",
"faiss-cpu>=1.8.0",
"hdbscan>=0.8.33",
"scikit-learn>=1.4.0",
"numpy>=1.26.0",
"pandas>=2.2.0",
"wandb>=0.17.0",
"onnx>=1.16.0",
"onnxruntime>=1.18.0",
"optimum>=1.19.0",
"peft>=0.11.0",
"tqdm>=4.66.0",
"umap-learn>=0.5.6",
"scipy>=1.13.0",
]
dev = [
"pytest>=8.2.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=5.0.0",
"ruff>=0.4.0",
"mypy>=1.10.0",
"httpx>=0.27.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["ml/eval", "apps/api/tests", "ml/data/tests", "ml/models/tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true