* typing in spaces.Box and spaces.Discrete
* adds typing to dict and tuple spaces
* Typecheck all spaces
* Explicit regex to include all files under space folder
* Style: use native types and __future__ annotations
* Allow only specific strings for Box.is_bounded args
* Add typing to changes from #2517
* Remove Literal as it's not supported by py3.7
* Use more recent version of pyright
* Avoid name clash for type checker
* Revert "Avoid name clash for type checker"
This reverts commit 1aaf3e0e0328171623a17a997b65fe734bc0afb1.
* Ignore the error. It's reported as probable bug at https://github.com/microsoft/pyright/issues/2852
* rebase and add typing for `_short_repr`
* Type cast for `spaces.Dict`
* Type cast for `spaces.Tuple`
* Type cast for `spaces.Discrete`
* Type cast for `spaces.MultiDiscrete`
* Type cast for `spaces.MultiBinary`
* gym.spaces.Dict inherits from collections.abc.Mapping
It would be very convenient to have `gym.spaces.Dict` inheriting from `collections.abc.Mapping` so that it can be used in conjunction with [dmtree](https://github.com/deepmind/tree) to perform operations on complex spaces conveniently. It also simplifies the implementation which is good.
I just don't like the fact that the `contains` method behavior is not consistent with what it should be doing if it was a proper mapping...
* Update dict.py
* Update dict.py
* Make the seed in default initialization controllable
Since seed() is being called in default initialization of Space, it should be controllable for reproducibility.
* Updated derived classes of Space to have their seeds controllable at initialization.
* Allow Tuple's spaces to each have their own seed
* Added dict based seeding for Dict space; test cases for Tuple and Dict seeding
* Update discrete.py
* Update test_spaces.py
* Add seed to __init__()
* blacked
* Fix black
* Fix failing tests
* Fix seed method for Tuple and Dict
* Improve stochasticity
* Update test cases for seed method
* Update test cases for seed method
Update test cases for seed method
Update test cases for seed method