Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (96 loc) · 3.28 KB
/
Copy pathpyproject.toml
File metadata and controls
115 lines (96 loc) · 3.28 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
[build-system]
requires = ["uv_build>=0.12.6,<0.13"]
build-backend = "uv_build"
[project]
name = "isaaclab_tutorial"
version = "0.1.0"
description = "Isaac Lab tutorial for placing a vial with an SO-101 arm."
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Mustafa Haiderbhai" },
]
requires-python = ">=3.12,<3.13"
dependencies = [
"isaaclab==3.0.0",
"torch==2.11.0",
"torchvision==0.26.0",
]
[project.entry-points."isaaclab.tasks"]
isaaclab_tutorial = "isaaclab_tutorial.tasks"
[project.scripts]
generate-so101-resets = "isaaclab_tutorial.tasks.place_vial.reset.generator:generate_main"
view-so101-resets = "isaaclab_tutorial.tasks.place_vial.reset.generator:view_main"
[project.optional-dependencies]
leapp = ["leapp==0.7.2"]
ovphysx = ["ovphysx"]
ovrtx = ["ovrtx==0.5.0.377615", "ovstage==0.1.1.355824"]
video = ["isaaclab[video]"]
# Temporary compatibility pin: Isaac Lab's logger calls wandb.util.generate_id,
# which W&B 0.31.0 no longer provides. Remove after that logger is updated.
wandb = ["isaaclab[wandb]", "wandb==0.26.1"]
[dependency-groups]
dev = ["codespell>=2.4", "pre-commit>=4.2", "pytest>=8.3", "ruff>=0.11"]
[tool.uv]
environments = ["sys_platform == 'linux' and platform_machine == 'x86_64'", "sys_platform == 'win32' and platform_machine == 'AMD64'", "sys_platform == 'linux' and platform_machine == 'aarch64'"]
[tool.uv.sources]
isaaclab = { git = "https://github.com/isaac-sim/IsaacLab.git", branch = "release/3.0.0", subdirectory = "tools/wheel_builder" }
ovphysx = { index = "nvidia" }
ovrtx = { index = "nvidia" }
torch = { index = "pytorch-cu130" }
torchvision = { index = "pytorch-cu130" }
[[tool.uv.index]]
name = "nvidia"
url = "https://pypi.nvidia.com"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu130"
url = "https://download.pytorch.org/whl/cu130"
explicit = true
[tool.uv.build-backend]
module-name = "isaaclab_tutorial"
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.ruff.lint.isort]
known-first-party = ["isaaclab_tutorial"]
section-order = [
"future",
"standard-library",
"third-party",
"isaaclab",
"isaaclab-rl",
"isaaclab-tasks",
"isaaclab-assets",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
isaaclab = ["isaaclab", "isaaclab_newton", "isaaclab_ov", "isaaclab_physx"]
"isaaclab-rl" = ["isaaclab_rl"]
"isaaclab-tasks" = ["isaaclab_tasks"]
"isaaclab-assets" = ["isaaclab_assets"]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401", "F403"]
"**/__init__.pyi" = ["F401", "F403"]
"scripts/**/*.py" = ["E402"]
[tool.ruff.format]
docstring-code-format = true
[tool.pyright]
include = ["src", "scripts", "tests"]
exclude = ["**/__pycache__", "**/logs", ".git", ".venv", ".vscode"]
typeCheckingMode = "basic"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
markers = [
"unit: test exercises isolated logic and does not launch the simulator",
"integration: test drives the simulator/scene/environment end-to-end",
"smoke: tests for core installation, task, and RL functionality",
"kitless: test must pass inside the Kit-less container, which has no Isaac Sim runtime",
]
[tool.codespell]
skip = "*.usd,*.usda,*.usdc,*.json,*.onnx,*.pt,*.mp4,*.data,uv.lock,logs"
ignore-words-list = "nd"