Farama-Foundation/Gymnasium
[Proposal] Add strict type hinting for core.py and spaces
Ouverte
#9 ouverte le 11 sept. 2022
enhancementgood first issue
Métriques du dépôt
- Stars
- (4 712 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
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