Update pre-commits (#733)

这个提交包含在:
Simon Alibert
2025-02-15 15:51:17 +01:00
提交者 GitHub
父节点 2cb0bf5d41
当前提交 c4c2ce04e7
共有 16 个文件被更改,包括 69 次插入 和 69 次删除

查看文件

@ -336,9 +336,9 @@ def test_backward_compatibility(repo_id):
assert new_keys == old_keys, f"{new_keys=} and {old_keys=} are not the same"
for key in new_frame:
assert torch.isclose(
new_frame[key], old_frame[key]
).all(), f"{key=} for index={i} does not contain the same value"
assert torch.isclose(new_frame[key], old_frame[key]).all(), (
f"{key=} for index={i} does not contain the same value"
)
# test2 first frames of first episode
i = dataset.episode_data_index["from"][0].item()