Skip to content

Commit a883b77

Browse files
nimrod-gileadicopybara-github
authored andcommitted
Adjust imports to match google-internal code and open source code.
This is an internal change that will make it easier for us to merge PRs. PiperOrigin-RevId: 587012500 Change-Id: Ibdd5c05f3dc61a8fcb954b4559991db0ab4b8c38
1 parent 35f72f1 commit a883b77

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

dm_control/locomotion/examples/explore.py

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

1818
from absl import app
1919

20-
from dm_control import viewer
2120
from dm_control.locomotion.examples import basic_cmu_2019
21+
from dm_control import viewer
2222

2323

2424
def main(unused_argv):

dm_control/locomotion/mocap/loader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@
2222
from dm_control.locomotion.mocap import mocap_pb2
2323
from dm_control.locomotion.mocap import trajectory
2424
from dm_control.utils import transformations as tr
25-
import numpy as np
26-
2725
from google.protobuf import descriptor
26+
import numpy as np
2827

2928

3029
class TrajectoryLoader(metaclass=abc.ABCMeta):

dm_control/locomotion/mocap/loader_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
from dm_control.locomotion.mocap import loader
2121
from dm_control.locomotion.mocap import mocap_pb2
2222
from dm_control.locomotion.mocap import trajectory
23-
2423
from google.protobuf import descriptor
2524
from google.protobuf import text_format
25+
2626
from dm_control.utils import io as resources
2727

2828
TEXTPROTOS = [

dm_control/locomotion/soccer/explore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
# limitations under the License.
1414
# ============================================================================
1515

16-
"""Interactive viewer for MuJoCo soccer enviornmnet."""
16+
"""Interactive viewer for MuJoCo soccer environment."""
1717

1818
import functools
1919
from absl import app
2020
from absl import flags
21-
from dm_control import viewer
2221
from dm_control.locomotion import soccer
22+
from dm_control import viewer
2323

2424
FLAGS = flags.FLAGS
2525

0 commit comments

Comments
 (0)