-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (110 loc) · 2.02 KB
/
pyproject.toml
File metadata and controls
118 lines (110 loc) · 2.02 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
[project]
name = "light-chat"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"asyncio>=4.0.0",
"beautifulsoup4>=4.12.0",
"chromadb>=1.4.1",
"click>=8.0.0",
"fastapi>=0.116.1",
"icecream>=2.1.7",
"jinja2>=3.1.6",
"langchain>=0.3.27",
"langchain-chroma>=1.1.0",
"langchain-community>=0.3.27",
"langchain-huggingface>=1.2.0",
"llama-cpp-python>=0.3.16",
"loguru>=0.7.0",
"nvidia-ml-py>=13.590.48",
"python-multipart>=0.0.20",
"requests>=2.31.0",
"sentence-transformers>=5.2.2",
"uvicorn>=0.35.0",
]
[tool.ruff]
target-version = "py313"
line-length = 120
[tool.ruff.lint]
select = [
"F",
"E",
"W",
"I",
"N",
"UP",
"YTT",
"ANN",
"ASYNC",
"S",
"FBT",
"B",
"A",
"COM",
"C4",
"DTZ",
"EM",
"EXE",
"FA",
"ISC",
"ICN",
"LOG",
"G",
"INP",
"PIE",
"T20",
"PYI",
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TCH",
"INT",
"ARG",
"PTH",
"PD",
"PGH",
"PL",
"TRY",
"FLY",
"NPY",
"PERF",
"FURB",
"RUF",
]
ignore = ["FBT001", "S603", "G004", "S607", "COM812"]
unfixable = [
# Don't touch unused imports
"F401",
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "PLR2004", "ANN"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[project.scripts]
quality-gate = "scripts.quality_gate:quality_gate"
capture-conversation-baselines = "scripts.conversation.capture_baselines:capture_conversation_baselines"
capture-code-metrics = "scripts.quality.capture_code_metrics:capture_code_metrics"
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-cov>=6.0.0",
"radon>=6.0.1",
"ruff>=0.9.0",
"xenon>=0.9.3",
]
[tool.coverage.run]
source = ["core", "scripts"]
omit = [
"tests/*",
"scripts/build/*",
"*/__pycache__/*",
]
[tool.coverage.report]
skip_empty = true
show_missing = true