-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (63 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
68 lines (63 loc) · 1.38 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "private-llm"
version = "0.1.0"
authors = [
{ name = "lucebert" },
]
description = "Private LLM implementation"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"click==8.1.7",
"pydantic==2.5.3",
"loguru==0.7.2",
"langchain==0.1.1",
"langgraph==0.0.19",
"chainlit==1.0.0",
"llama-cpp-python==0.2.39",
"sqlalchemy==2.0.25",
"psycopg2-binary==2.9.9",
"redis==5.0.1",
]
[project.optional-dependencies]
dev = [
"pytest==7.4.4",
"pytest-cov==4.1.0",
"pytest-asyncio==0.23.3",
"black==23.12.1",
"isort==5.13.2",
"mypy==1.8.0",
"ruff==0.1.9",
]
[tool.ruff]
line-length = 88
target-version = "py39"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"N", # pep8-naming
"SIM", # flake8-simplify
"PT", # flake8-pytest-style
"RUF", # Ruff-specific rules
]
ignore = []
[tool.ruff.isort]
combine-as-imports = true
force-sort-within-sections = true
[tool.mypy]
python_version = "3.9"
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true