-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (118 loc) · 2.64 KB
/
pyproject.toml
File metadata and controls
129 lines (118 loc) · 2.64 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "forge-robotics"
version = "0.1.0"
description = "The normalization layer for robotics data - converts between RLDS, LeRobot, Zarr, and other formats"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Forge Team" }
]
keywords = ["robotics", "datasets", "rlds", "lerobot", "data-conversion"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.24.0",
"typer>=0.9.0",
"rich>=13.0.0",
"pyyaml>=6.0",
]
[project.optional-dependencies]
rlds = [
"tensorflow>=2.13.0",
"tensorflow-datasets>=4.9.0",
]
lerobot = [
"pyarrow>=14.0.0",
"datasets>=2.16.0",
]
hub = [
"huggingface_hub>=0.20.0",
]
zarr = [
"zarr>=2.16.0",
]
rosbag = [
"rosbags>=0.9.0",
]
hdf5 = [
"h5py>=3.8.0",
]
robodm = [
"robodm>=0.1.0",
]
video = [
"av>=11.0.0",
]
visualize = [
"opencv-python>=4.8.0",
"matplotlib>=3.7.0",
]
registry = [
"jinja2>=3.1.0",
]
segment = [
"ruptures>=1.1.0",
]
rerun = [
"rerun-sdk>=0.16.0",
]
all = [
"forge-robotics[rlds,lerobot,zarr,rosbag,hdf5,robodm,video,hub,visualize,registry,segment,rerun]",
]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"mypy>=1.7.0",
"ruff>=0.1.0",
]
[project.scripts]
forge = "forge.cli:app"
[project.urls]
Homepage = "https://github.com/your-org/forge"
Documentation = "https://github.com/your-org/forge#readme"
Repository = "https://github.com/your-org/forge"
[tool.hatch.build.targets.wheel]
packages = ["forge"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
warn_return_any = false # Disabled due to external libraries returning Any
warn_unused_ignores = true
strict = false # Disabled strict for now due to many external library issues
# Ignore missing stubs for external libraries
[[tool.mypy.overrides]]
module = [
"zarr.*",
"tensorflow.*",
"tensorflow_datasets.*",
"pyarrow.*",
"rosbags.*",
"av.*",
"yaml.*",
"h5py.*",
"robodm.*",
"cv2.*",
"ruptures.*",
"rerun.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --cov=forge --cov-report=term-missing"