-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
67 lines (60 loc) · 1.6 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
[tool.poetry]
name = "zod"
version = "0.6.0"
description = "Zenseact Open Dataset"
authors = ["Zenseact <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://zod.zenseact.com"
repository = "https://github.com/zenseact/zod"
[tool.poetry.scripts]
zod = "zod.cli.main:app"
[tool.poetry.dependencies]
python = "^3.8"
tqdm = ">=4.60"
numpy = "^1.19"
scipy = "^1.5"
pillow = ">=7"
h5py = ">=3.1"
pyquaternion = ">=0.9"
numpy-quaternion = ">=2022.4.2"
dataclass-wizard = ">=0.22.2"
# Optional dependencies
typer = { extras = ["all"], version = ">=0.7.0", optional = true }
dropbox = { version = ">=11.36.0", optional = true }
opencv-python = { version = "^4", optional = true }
matplotlib = { version = "^3", optional = true }
plotly = { version = "^5", optional = true }
dash-bootstrap-components = { version = "^1.1", optional = true }
pandas = { version = "^1.3", optional = true }
notebook = { version = ">=5", optional = true }
imageio = { version = "^2", optional = true }
[tool.poetry.extras]
cli = ["typer", "dropbox"]
all = [
"typer",
"dropbox",
"opencv-python",
"matplotlib",
"plotly",
"dash-bootstrap-components",
"pandas",
"notebook",
"imageio",
]
[tool.poetry.group.dev.dependencies]
ruff = "^0.3.7"
pre-commit = ">=2"
pytest = ">=7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
exclude = ["zod/eval/detection/_nuscenes_eval/*"]
[tool.ruff.lint]
select = [ # (see here: https://github.com/charliermarsh/ruff#supported-rules)
"I", # isort
"W", # warning
"E", # pycodestyle
]