-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (55 loc) · 1.26 KB
/
pyproject.toml
File metadata and controls
64 lines (55 loc) · 1.26 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "segmind"
dynamic = ["version"]
description = "Python SDK for Segmind API"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Segmind", email = "support@segmind.com" }]
requires-python = ">=3.8"
dependencies = [
"httpx>=0.25.0",
]
[project.optional-dependencies]
test = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.10.0",
"respx>=0.20.0",
"httpx>=0.25.0",
]
dev = [
"black>=23.0.0",
"ruff>=0.1.0",
"pre-commit>=3.0.0",
]
docs = [
"sphinx>=6.0.0",
"sphinx_rtd_theme>=1.3.0",
"sphinx-autodoc-typehints>=1.24.0",
]
[project.urls]
homepage = "https://www.segmind.com/"
repository = "https://github.com/segmind/segmind-python"
[tool.pytest.ini_options]
testpaths = "tests/"
asyncio_mode = "auto"
[tool.hatch.version]
path = "segmind/__init__.py"
[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311"]
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint]
ignore = ["E501", "B008"]
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM", "RUF"]
per-file-ignores = {"tests/*" = ["S101"]}
[tool.uv.workspace]
members = [
"segmind",
]