-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (113 loc) · 2.79 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (113 loc) · 2.79 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
127
128
129
130
[build-system]
requires = ["uv_build>=0.9.13,<0.12.0"]
build-backend = "uv_build"
[project]
name = "deepset-cloud-sdk"
version = "1.0.2"
description = 'deepset SDK'
readme = "README.md"
requires-python = ">= 3.9"
license = "Apache-2.0"
keywords = []
authors = [{ name = "deepset", email = "rohan.janjua@deepset.ai" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"structlog>=24.0.0",
"httpx>=0.27.2",
"python-dotenv>=1.0.1",
"typer>=0.15.0",
"click>=7.0.0",
"tenacity>=8.3.0",
"aiohttp>=3.10.10",
"aiofiles>=24.1.0",
"tabulate>=0.9.0",
"tqdm>=4.66.4",
"yaspin>=3.0.0",
"pyrate-limiter>=3.7.0,<4.0.0",
"pydantic>=2.11.4",
"ruamel.yaml>=0.18.10",
"sniffio>=1.3.1",
]
[project.urls]
Documentation = "https://github.com/deepset-ai/deepset-cloud-sdk#readme"
Issues = "https://github.com/deepset-ai/deepset-cloud-sdk/issues"
Source = "https://github.com/deepset-ai/deepset-cloud-sdk"
[project.scripts]
deepset-cloud = "deepset_cloud_sdk.cli:run_packaged"
[dependency-groups]
test = [
"pytest-cov==7.1.0",
"pytest==8.4.2",
"pytest-asyncio==1.2.0",
"haystack-ai>=2.13.2", # only for testing
"respx==0.23.1",
]
code-quality = [
"ruff==0.15.12",
"mypy==1.19.1",
"pre-commit==4.3.0",
"types-aiofiles==25.1.0.20251011",
"types-tabulate==0.9.0.20241207",
]
[tool.uv.build-backend]
module-name = "deepset_cloud_sdk"
module-root = ""
[tool.coverage.run]
branch = true
relative_files = true
[tool.coverage.report]
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
ignore = [
"E501", # line too long
]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
]
fixable = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
known-first-party = ["deepset_cloud_sdk"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
[tool.pylint.'MESSAGES CONTROL']
max-line-length = 150
disable = [
"fixme",
"c-extension-no-member",
"wrong-spelling-in-comment",
"wrong-spelling-in-docstring",
"missing-module-docstring",
]
[tool.pylint.'DESIGN']
max-args = 9
[tool.pylint.'SIMILARITIES']
min-similarity-lines = 10
[tool.pylint.'BASIC']
good-names = ["i", "k", "v", "_", "f1"]