Skip to content

Conversation

@chriselion
Copy link
Contributor

I'm trying to get --namespace-packages in mypy working for our project (it currently hits an internal assert). In the meantime, here are a few things that flagged.

self.training_buffer.update_buffer.save_to_file(file_object)

def load_replay_buffer(self) -> Buffer:
def load_replay_buffer(self) -> None:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the return type here, which also lets you not import Buffer

@chriselion chriselion requested a review from ervteng September 28, 2019 01:19
Copy link
Contributor

@ervteng ervteng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chriselion chriselion merged commit 9370b63 into develop Sep 30, 2019
@chriselion chriselion deleted the develop-mypy-cleanup branch October 4, 2019 18:51
ervteng pushed a commit that referenced this pull request Oct 9, 2019
* small mypy cleanup

* sac cleanup

* types for ppo policy init
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants