Farama-Foundation/Gymnasium
View on GitHub[Proposal] Add strict type hinting for core.py and spaces
Open
#9 opened on Sep 11, 2022
enhancementgood first issue
Repository metrics
- Stars
- (4,712 stars)
- PR merge metrics
- (Avg merge 1d 9h) (10 merged PRs in 30d)
Description
Gymnasium inherits some of the type hinting that we completed for gym However, having strict type hinting at the critical parts of the project could be an important improve
Known issues:
- Pyright raises an issue for overwriting a variable with a property. This is an issue for variables like
metadataandspecwhichWrapperoverwrites with a property. We could ignore this issue or changemetadataandspecto be specs inEnvwith a hidden_metadataand_spec