Skip to content

Commit

Permalink
Apply pre-commit to tests folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni-SM committed Aug 5, 2024
1 parent 0a5efeb commit a6e93d0
Show file tree
Hide file tree
Showing 17 changed files with 49 additions and 38 deletions.
2 changes: 1 addition & 1 deletion tests/test_agents.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import torch

Expand Down
2 changes: 1 addition & 1 deletion tests/test_envs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import torch

Expand Down
7 changes: 4 additions & 3 deletions tests/test_examples_deepmind.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import subprocess
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import os
import subprocess


EXAMPLE_DIR = "deepmind"
Expand Down
7 changes: 4 additions & 3 deletions tests/test_examples_gym.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import subprocess
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import os
import subprocess


EXAMPLE_DIR = "gym"
Expand Down
7 changes: 4 additions & 3 deletions tests/test_examples_gymnasium.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import subprocess
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import os
import subprocess


EXAMPLE_DIR = "gymnasium"
Expand Down
7 changes: 4 additions & 3 deletions tests/test_examples_isaac_orbit.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import subprocess
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import os
import subprocess


# See the following link for Isaac Orbit environment
Expand Down
7 changes: 4 additions & 3 deletions tests/test_examples_isaacgym.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import subprocess
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import os
import subprocess


EXAMPLE_DIR = "isaacgym"
Expand Down
7 changes: 4 additions & 3 deletions tests/test_examples_isaacsim.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import subprocess
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import os
import subprocess


# See the following link for Omniverse Isaac Sim Python environment
Expand Down
7 changes: 4 additions & 3 deletions tests/test_examples_omniisaacgym.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import subprocess
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import os
import subprocess


# See the following link for Omniverse Isaac Sim Python environment
Expand Down
7 changes: 4 additions & 3 deletions tests/test_examples_robosuite.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import subprocess
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import os
import subprocess


EXAMPLE_DIR = "robosuite"
Expand Down
7 changes: 4 additions & 3 deletions tests/test_examples_shimmy.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import subprocess
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import os
import subprocess


EXAMPLE_DIR = "shimmy"
Expand Down
5 changes: 3 additions & 2 deletions tests/test_memories.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import string
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import string

import torch

Expand Down
2 changes: 1 addition & 1 deletion tests/test_model_instantiators.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import torch

Expand Down
2 changes: 1 addition & 1 deletion tests/test_resources_noises.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import torch

Expand Down
7 changes: 4 additions & 3 deletions tests/test_resources_preprocessors.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import warnings
import gym
import gymnasium
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import gym
import gymnasium

import torch

Expand Down
2 changes: 1 addition & 1 deletion tests/test_resources_schedulers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import torch

Expand Down
2 changes: 1 addition & 1 deletion tests/test_trainers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import warnings
import hypothesis
import hypothesis.strategies as st
import pytest
import warnings

import torch

Expand Down

0 comments on commit a6e93d0

Please sign in to comment.