suppress pyrefly errors in mujoco
Startblock: * // Put other blockers before this line to avoid churning. * has lgtm * is approved * and then * all comments are resolved * and then PiperOrigin-RevId: 961854282 Change-Id: I9d323a8ef9f36ffe69cc62d449849eac82dc6858
This commit is contained in:
committed by
Copybara-Service
parent
d6dc966c04
commit
0aad65868d
@@ -117,7 +117,7 @@ class GhostRenderer:
|
||||
self._viewer.extra_geoms.clear()
|
||||
if self._last_time is None or data.time < self._last_time:
|
||||
self._history.clear()
|
||||
if not self._history or data.time > self._last_time:
|
||||
if not self._history or data.time > self._last_time: # pyrefly: ignore[unsupported-operation]
|
||||
self._history.append((
|
||||
data.time,
|
||||
data.geom_xpos.copy(),
|
||||
@@ -129,7 +129,7 @@ class GhostRenderer:
|
||||
while len(self._history) > 1 and self._history[1][0] <= target_time:
|
||||
self._history.popleft()
|
||||
|
||||
_, xpos, xmat = self._history[0]
|
||||
_, xpos, xmat = self._history[0] # pyrefly: ignore[bad-assignment]
|
||||
if len(xpos) != model.ngeom or len(xmat) != model.ngeom:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user