-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (69 loc) · 1.97 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[project]
name = "ai-cloud-project-template"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
# AI dependencies
"openai==1.55.0",
"langchain==0.3.7",
"langchain-openai==0.2.9",
"langchain-community==0.3.7",
"giskard[llm]==2.16.0",
"ragas==0.2.6",
"instructor==1.7.0",
"azure-search-documents==11.5.2",
"azure-storage-blob==12.24.0",
# backend & frontend
"python-multipart==0.0.9",
"fastapi[standard]==0.115.5",
"streamlit==1.40.1",
"uvicorn==0.32.1",
# Engineering
"pydantic==2.10.1",
"pydantic-settings>=2.6.1",
"loguru==0.7.2",
"rich==13.9.4"
]
############### uv configuration
# uses also the depenencies in the [project.dependencies] section
[tool.uv]
managed = true
default-groups = ["dev", "docs"]
[dependency-groups]
# if you add new dependencies here, make sure to add them to [tool.uv] default-groups up above
dev = [
"pytest == 8.3.0",
"pytest-asyncio == 0.24.0",
"pre-commit == 4.0.1",
"jupyter==1.1.1",
"ruff==0.8.1"
]
docs = [
"mkdocs == 1.6.1",
"mkdocs-material>=9.5.41",
"mkdocstrings>=0.26.2",
"mkdocs-mermaid2-plugin>=1.1.1",
"mkdocs-gen-files>=0.5.0",
"mkdocstrings-python",
"mkdocs-same-dir",
"mkdocs-exclude"
]
# scripts : inside the root folder, you can run `uv run --directory . hi` or
[project.scripts]
hello = "tmp" # will read from __init__.py.
# pytest configuration
[tool.pytest.ini_options]
pythonpath = ["src"]
# ruff configuration
[tool.ruff]
extend-exclude = ["*.ipynb"]
line-length = 100
# Enable all `pydocstyle` rules, limiting to those that adhere to the Google convention via `convention = "google"`
[tool.ruff.lint]
select = ["D", "F401"]
ignore = ["D100", "D101", "D102", "D103", "D104", "D107", "D417"]
[tool.ruff.lint.pydocstyle]
# Use Google-style docstrings.
convention = "google"