Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wduguay-air committed Apr 3, 2024
1 parent 1646eb9 commit 1f308be
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
5 changes: 3 additions & 2 deletions cogment_lab/generated/cog_settings.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from types import SimpleNamespace

import cogment as _cog
from types import SimpleNamespace

import cogment_lab.generated.data_pb2 as data_pb
import cogment_lab.generated.ndarray_pb2 as ndarray_pb
import cogment_lab.generated.spaces_pb2 as spaces_pb
import cogment_lab.generated.data_pb2 as data_pb


_player_class = _cog.actor.ActorClass(
name="player",
Expand Down
3 changes: 2 additions & 1 deletion cogment_lab/generated/data_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions cogment_lab/generated/ndarray_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion cogment_lab/generated/spaces_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion cogment_lab/protos/spaces.proto
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ message Space {
Text text = 7;
}
}

5 changes: 2 additions & 3 deletions tests/test_spaces_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import gymnasium
import numpy as np
import pytest
from gymnasium.spaces import Box, Dict, Discrete, MultiBinary, MultiDiscrete, Tuple


from cogment_lab.specs.ndarray_serialization import SerializationFormat
from cogment_lab.specs.spaces_serialization import deserialize_space, serialize_gym_space
from cogment_lab.specs.spaces_serialization import serialize_gym_space


# pylint: disable=no-member

Expand Down

0 comments on commit 1f308be

Please sign in to comment.