stable-baselines3-contrib icon indicating copy to clipboard operation
stable-baselines3-contrib copied to clipboard

Fix `stable_baselines3/common/distributions.py` type hint

Open qgallouedec opened this issue 1 year ago • 0 comments

Description

Handles the breaking changes from https://github.com/DLR-RM/stable-baselines3/pull/1190

Context

  • [ ] I have raised an issue to propose this change (required)

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation (update in the documentation)

Checklist:

  • [ ] I've read the CONTRIBUTION guide (required)
  • [ ] The functionality/performance matches that of the source (required for new training algorithms or training-related features).
  • [ ] I have updated the tests accordingly (required for a bug fix or a new feature).
  • [ ] I have included an example of using the feature (required for new features).
  • [ ] I have included baseline results (required for new training algorithms or training-related features).
  • [ ] I have updated the documentation accordingly.
  • [ ] I have updated the changelog accordingly (required).
  • [ ] I have reformatted the code using make format (required)
  • [ ] I have checked the codestyle using make check-codestyle and make lint (required)
  • [ ] I have ensured make pytest and make type both pass. (required)

Note: we are using a maximum length of 127 characters per line

qgallouedec avatar Nov 29 '22 14:11 qgallouedec