Skip to content

Commit 7003be5

Browse files
committed
precommit pass
1 parent 0f2a050 commit 7003be5

File tree

80 files changed

+168
-195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+168
-195
lines changed

scripts/benchmarks/benchmark_rsl_rl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
imports_time_end = time.perf_counter_ns()
8787

8888

89+
from isaaclab import lazy
8990
from isaaclab.utils.timer import Timer
9091
from scripts.benchmarks.utils import (
9192
log_app_start_time,
@@ -100,7 +101,6 @@
100101
parse_tf_logs,
101102
)
102103

103-
from isaaclab import lazy
104104
torch.backends.cuda.matmul.allow_tf32 = True
105105
torch.backends.cudnn.allow_tf32 = True
106106
torch.backends.cudnn.deterministic = False

scripts/benchmarks/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
import glob
88
import os
9-
109
from typing import Any
1110

12-
from isaaclab import lazy
1311
from tensorboard.backend.event_processing import event_accumulator
1412

13+
from isaaclab import lazy
14+
1515

1616
def parse_tf_logs(log_dir: str):
1717
"""Search for the latest tfevents file in log_dir folder and returns

scripts/environments/state_machine/lift_teddy_bear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
import argparse
2121

22-
from isaaclab.app import AppLauncher
2322
from isaaclab import lazy
23+
from isaaclab.app import AppLauncher
2424

2525
# add argparse arguments
2626
parser = argparse.ArgumentParser(description="Pick and lift a teddy bear with a robotic arm.")

scripts/tools/check_instanceable.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
import contextlib
4545
import os
4646

47-
from isaaclab.app import AppLauncher
4847
from isaaclab import lazy
48+
from isaaclab.app import AppLauncher
4949

5050
# add argparse arguments
5151
parser = argparse.ArgumentParser("Utility to empirically check if asset in instanced properly.")
@@ -68,6 +68,7 @@
6868
from isaaclab.sim.utils.stage import get_current_stage
6969
from isaaclab.utils import Timer
7070
from isaaclab.utils.assets import check_file_path
71+
import isaaclab.sim.utils.prims as prim_utils
7172

7273

7374
def main():

source/isaaclab/isaaclab/app/app_launcher.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@
1818
import re
1919
import signal
2020
import sys
21-
from typing import Any, Literal
21+
from typing import TYPE_CHECKING, Any, Literal
22+
2223
from isaaclab import lazy
2324

25+
if TYPE_CHECKING:
26+
from isaacsim import SimulationApp
27+
2428

2529
class ExplicitAction(argparse.Action):
2630
"""Custom action to track if an argument was explicitly passed by the user."""

source/isaaclab/isaaclab/assets/articulation/articulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
import omni.physics.tensors.impl.api as physx
1818
from pxr import PhysxSchema, UsdPhysics
1919

20-
from isaaclab import lazy
2120
import isaaclab.sim as sim_utils
2221
import isaaclab.utils.math as math_utils
2322
import isaaclab.utils.string as string_utils
23+
from isaaclab import lazy
2424
from isaaclab.actuators import ActuatorBase, ActuatorBaseCfg, ImplicitActuator
2525
from isaaclab.utils.types import ArticulationActions
2626

source/isaaclab/isaaclab/assets/articulation/articulation_data.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
import weakref
99

1010
import omni.physics.tensors.impl.api as physx
11-
from isaaclab import lazy
11+
1212
import isaaclab.utils.math as math_utils
13+
from isaaclab import lazy
1314
from isaaclab.utils.buffers import TimestampedBuffer
1415

1516
# import logger

source/isaaclab/isaaclab/assets/asset_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616

1717
import omni.kit.app
1818
import omni.timeline
19-
from isaaclab import lazy
19+
2020
import isaaclab.sim as sim_utils
2121
import isaaclab.sim.utils.prims as prim_utils
22+
from isaaclab import lazy
2223
from isaaclab.sim.utils.stage import get_current_stage
2324

2425
if TYPE_CHECKING:

source/isaaclab/isaaclab/assets/deformable_object/deformable_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
import omni.physics.tensors.impl.api as physx
1414
from pxr import PhysxSchema, UsdShade
1515

16-
from isaaclab import lazy
1716
import isaaclab.sim as sim_utils
1817
import isaaclab.utils.math as math_utils
18+
from isaaclab import lazy
1919
from isaaclab.markers import VisualizationMarkers
2020

2121
from ..asset_base import AssetBase

source/isaaclab/isaaclab/assets/rigid_object/rigid_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
import omni.physics.tensors.impl.api as physx
1414
from pxr import UsdPhysics
1515

16-
from isaaclab import lazy
1716
import isaaclab.sim as sim_utils
1817
import isaaclab.utils.math as math_utils
1918
import isaaclab.utils.string as string_utils
19+
from isaaclab import lazy
2020

2121
from ..asset_base import AssetBase
2222
from .rigid_object_data import RigidObjectData

0 commit comments

Comments
 (0)