forked from buerokratt/LLM-Module
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (106 loc) · 2.73 KB
/
pyproject.toml
File metadata and controls
126 lines (106 loc) · 2.73 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[project]
name = "rag-module"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = "==3.12.10"
dependencies = [
"azure-identity>=1.24.0",
"boto3>=1.40.25",
"dspy>=3.0.3",
"openai>=1.106.1",
"numpy>=2.3.2",
"pre-commit>=4.3.0",
"pyright>=1.1.407",
"pytest>=8.4.1",
"pyyaml>=6.0.2",
"ruff>=0.12.12",
"python-dotenv>=1.1.1",
"loguru>=0.7.3",
"requests>=2.32.5",
"pydantic>=2.11.7",
"testcontainers>=4.13.0",
"hvac>=2.3.0",
"fastapi>=0.116.1",
"uvicorn>=0.35.0",
"qdrant-client>=1.15.1",
"rank-bm25>=0.2.2",
"deepeval>=3.6.0",
"deepteam>=0.2.5",
"rerankers>=0.10.0",
"deepeval>=3.6.0",
"pytest-json-report>=1.5.0",
"deepteam>=0.2.5",
"anthropic>=0.69.0",
"nemoguardrails>=0.16.0",
"tiktoken>=0.11.0",
"langfuse>=3.8.1",
"minio>=7.2.0",
"psycopg2-binary>=2.9.11",
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
# Same as Black Formatter.
line-length = 88
indent-width = 4
# Set Python Version - 3.12
target-version = "py312"
fix = false
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "B", "T20", "N", "ANN", "ERA", "PERF"]
ignore = []
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.pyright]
# --- Environment & discovery ---
pythonVersion = "3.12.10" # Target Python semantics (pattern matching, typing features, stdlib types).
venvPath = "." # Where virtual envs live relative to repo root.
venv = ".venv" # The specific env name uv manages (uv sync creates .venv).
# --- What to analyze ---
include = ["*"] # Top-level packages & tests to check.
exclude = [
"**/.venv", "**/__pycache__", "build", "dist", ".git",
".ruff_cache", ".mypy_cache", "tests/", "**/tests/"
]
# --- Global strictness ---
typeCheckingMode = "standard" # Standard typechecking mode