-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
137 lines (125 loc) · 3.42 KB
/
pyproject.toml
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
131
132
133
134
135
136
137
# /pyproject.toml
[project]
description = "The official Superb AI Curate client for Python"
name = "superb-ai-curate"
version = "1.4.1.post1"
[[project.authors]]
name = "Superb AI"
email = "[email protected]"
[tool.poetry]
name = "superb-ai-curate"
version = "1.4.1.post1"
license = "MIT"
description = "The official Superb AI Curate client for Python"
authors = ["Superb AI <[email protected]>"]
homepage = "https://superb-ai.com/"
repository = "https://github.com/Superb-AI-Suite/superb-ai-curate-python"
documentation = "https://docs.superb-ai.com/reference/superb-curate-sdk-overview"
readme = "README.md"
packages = [{ include = "spb_curate" }]
keywords = [
"superb ai",
"superbapi",
"tasks",
"categorization",
"annotation",
"labeling",
"dataops",
"mlops",
"curation",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[tool.poetry.dependencies]
python = ">=3.7,<4.0"
aiohttp = [
{ version = ">=3.8.0,<3.9.0", python = ">=3.7,<3.12" },
{ version = ">=3.9.0", python = ">=3.12" },
]
requests = ">=2.20.0,<3.0.0"
# Dev
black = { version = "*", optional = true }
coveralls = { version = "*", optional = true }
isort = { version = "*", optional = true }
pytest = { version = "*", optional = true }
pytest-asyncio = { version = "*", optional = true }
pytest-cov = { version = "*", optional = true }
# Docs
Sphinx = { version = "*", optional = true }
sphinxcontrib-napoleon = { version = "*", optional = true }
sphinx-autodoc-typehints = { version = "^1.19.4", optional = true }
sphinx-pyproject = { version = "*", optional = true }
sphinx-rtd-theme = { version = "*", optional = true }
[tool.poetry.extras]
dev = ["black", "coveralls", "isort", "pytest", "pytest-asyncio", "pytest-cov"]
docs = [
"Sphinx",
"sphinxcontrib-napoleon",
"sphinx-autodoc-typehints",
"sphinx-pyproject",
"sphinx-rtd-theme",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.sphinx-pyproject]
copyright = "2023, Superb AI"
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.coverage",
"sphinx.ext.viewcode",
"sphinx.ext.githubpages",
"sphinx_rtd_theme",
"sphinx.ext.napoleon",
"sphinx_autodoc_typehints",
]
language = "en"
html_baseurl = ""
html_theme = "sphinx_rtd_theme"
project = "superb-ai-curate"
typehints_defaults = "braces"
[tool.black]
line-length = 88
target-version = ["py37", "py38", "py39", "py310", "py311", "py312"]
exclude = '''
/(
\.eggs/
| \.git/
| \.tox/
| \.venv/
| _build/
| build/
| dist/
| venv/
)
'''
[tool.isort]
profile = "black"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:",
]
[tool.coverage.run]
source = ["spb_curate", "tests"]
omit = ["tests/api/conftest.py", "tests/api/curate/conftest.py"]