-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathpyproject.toml
45 lines (41 loc) · 1.14 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
[project]
name = "labelbox-python"
version = "0.1.0"
description = "Labelbox Python API"
authors = [{ name = "Labelbox", email = "[email protected]" }]
dependencies = [
"sphinx-multiproject>=1.0.0rc1",
"sphinx>=7.1.2",
"sphinx-rtd-theme>=2.0.0",
]
readme = "README.md"
requires-python = ">= 3.9"
[tool.rye]
managed = true
virtual = true
dev-dependencies = [
"pytest>=8.1.1",
"pytest-cases>=3.8.4",
"pytest-rerunfailures>=14.0",
"pytest-snapshot>=0.9.0",
"nbconvert>=7.16.2",
"nbformat>=5.10.3",
"pytest-cov>=4.1.0",
"pytest-xdist>=3.5.0",
"toml-cli>=0.6.0",
"faker>=25.5.0",
"pytest-timestamper>=0.0.10",
"pytest-timeout>=2.3.1",
"pytest-order>=1.2.1",
"pyjwt>=2.9.0",
]
[tool.rye.workspace]
members = ["libs/*", "examples"]
[tool.pytest.ini_options]
# https://github.com/pytest-dev/pytest-rerunfailures/issues/99
addopts = "-rP -vvv --reruns 1 --reruns-delay 5 --durations=20 -n auto --cov=labelbox --import-mode=importlib --order-group-scope=module"
markers = """
slow: marks tests as slow (deselect with '-m "not slow"')
"""
[tool.rye.scripts]
docs = "sphinx-build ./docs ./dist"