-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
56 lines (47 loc) · 1.11 KB
/
pyproject.toml
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
[project]
name = "eg1"
version = "0.2"
description = "Albert Evaluations"
authors = [{ name = "Etalab", email = "[email protected]" }]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "MIT" }
dependencies = [
# API
"fastapi==0.115.2",
"SQLAlchemy==2.0.35",
"sqlalchemy-utils==0.41.2",
"alembic==1.13.3",
"uvicorn==0.32.0",
"requests==2.32.3",
"python-dotenv==1.0.1",
"psycopg2-binary==2.9.10",
"pandas==2.2.3",
"pyzmq==26.2.0",
"jinja2==3.1.4",
"pydantic==2.9.2",
"inflection==0.5.1",
"deepeval==2.0.5",
"ragas==0.2.7",
# Front
"streamlit==1.40.1"
]
# Tests
[project.optional-dependencies]
test = ["pytest==8.3.3", "pytest-asyncio==0.24.0"]
[tool.pytest.ini_options]
testpaths = ["api/tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# Linter
[tool.ruff]
line-length = 100
exclude = ["alembic/versions/"]
[tool.ruff.lint.isort]
known-third-party = ["alembic"]
known-first-party = ["api", "config", "tests", "ui"]
[tool.setuptools]
py-modules = []
[tool.pdm]
distribution = false