Skip to content

Commit

Permalink
linted all files
Browse files Browse the repository at this point in the history
  • Loading branch information
alberthli committed May 25, 2024
1 parent 8c93218 commit f9af1c3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ ensure_newline_before_comments=True
line_length=120

[settings]
known_third_party=wandb
known_third_party=mujoco, wandb
4 changes: 1 addition & 3 deletions argus/validate_real.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import os

from dataclasses import dataclass
from argus.utils import get_pose, xyzxyzw_to_xyzwxyz_SE3
from pathlib import Path

import h5py
import kornia
import matplotlib.pyplot as plt
import mujoco
import torch
import tyro

import mujoco
from argus import ROOT
from argus.data import CameraCubePoseDatasetConfig
from argus.models import NCameraCNN, NCameraCNNConfig
Expand Down
4 changes: 3 additions & 1 deletion scripts/mesh_conversion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from pathlib import Path

import trimesh

from argus import ROOT
from pathlib import Path

if __name__ == "__main__":
mesh_path = Path(ROOT) / "LeapProject/Assets/urdf/meshes"
Expand Down
9 changes: 5 additions & 4 deletions scripts/mujoco_rendering.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import mujoco
import json
from pathlib import Path

import h5py
import matplotlib.pyplot as plt
import mujoco
import numpy as np

from argus import ROOT
from pathlib import Path
import h5py
import json

USE_JSON = False

Expand Down
3 changes: 2 additions & 1 deletion scripts/rotation_overfitting.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import torch
# flake8: noqa
import pypose as pp
import torch
import torchvision.models as models


Expand Down

0 comments on commit f9af1c3

Please sign in to comment.