-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (78 loc) · 2.02 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (78 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "lightspeed_stack_providers"
version = "0.5.0"
description = "Lightspeed Stack providers for llama-stack"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"llama-stack==0.6.0",
"llama-stack-api==0.6.0",
"llama-stack-client==0.6.0",
"httpx",
"pydantic>=2.10.6",
"litellm>=1.75.5.post1",
"sqlalchemy>=2.0.0",
"numpy>=1.24.0",
"mcp>=1.23.0",
"urllib3>=2.6.3",
"aiohttp>=3.13.3",
"protobuf>=6.33.5",
"filelock>=3.20.3",
"pypdf>=6.9.2",
"chardet>=7.4.1",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages]
find = {}
[project.optional-dependencies]
dev = [
"black>=25.1.0",
"ruff>=0.8.0",
]
test = [
"behave>=1.2.6",
"requests>=2.31.0",
"parse>=1.19.0",
"parse-type>=0.6.0",
"pytest>=8.3.2",
"pytest-cov>=5.0.0",
"pytest-mock>=3.14.0",
"pytest-asyncio>=1.0.0",
]
test-solr = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"transformers>=4.40.0",
"torch>=2.0.0",
]
[tool.pylint.main]
source-roots = "."
ignore = ["tests.py", "conftest.py"]
[tool.pylint."MESSAGES CONTROL"]
disable = ["R0801"]
[tool.ruff]
extend-exclude = ["lightspeed_stack_providers/providers/remote/solr_vector_io/solr_vector_io/tests.py"]
[tool.ruff.lint]
extend-select = ["UP006", "UP007", "UP010", "UP017", "UP035", "RUF100", "B009", "B010", "DTZ005", "I001", "RET504", "RET505", "ANN201"]
[tool.ruff.lint.flake8-tidy-imports]
banned-api = { "unittest" = { msg = "use pytest instead of unittest" }, "unittest.mock" = { msg = "use pytest-mock instead of unittest.mock" } }
[tool.mypy]
explicit_package_bases = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
ignore_missing_imports = true
disable_error_code = "attr-defined"
exclude = ["tests.py"]
[dependency-groups]
dev = [
"mypy>=1.20.0",
"pydocstyle>=6.3.0",
"pylint>=4.0.5",
"pyright>=1.1.410",
"pytest>=8.3.2",
]