Closed saleml closed 2 years ago
This PR fixes some pyright errors:
_gen_grid
MiniGridEnv
assert False
roomgrid.py
gym.Wrapper
gym.ObservationWrapper
gym.core
run_tests.py
EmptyEnv5x5
FlatObsWrapper
,
Please delete options that are not relevant.
pre-commit
pre-commit run --all-files
CONTRIBUTING.md
Description
This PR fixes some pyright errors:
_gen_grid
abstract inMiniGridEnv
instead ofassert False
roomgrid.py
gym.Wrapper
orgym.ObservationWrapper
. I changed the corresponding lines to import fromgym.core
instead.run_tests.py
,EmptyEnv5x5
doesn't exist anymore, and the list of registered Minigrid environments should be accessed from gym's registry.FlatObsWrapper
, when a mission contained,
, an error was raised. This should be fixed.Type of change
Please delete options that are not relevant.
Checklist:
pre-commit
checks withpre-commit run --all-files
(seeCONTRIBUTING.md
instructions to set it up)