Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate docstring formatting weirdness in Backbone and Preprocessor base classes #654

Merged
merged 2 commits into from
Jan 18, 2023

Conversation

mattdangerw
Copy link
Member

I've been poking around trying to figure out how to best remove the weird docstring cruft we have on each of our backbones and preprocessors. Python gives an __init_subclass__ hook that will allow us to do this in a consolidate place.

@mattdangerw mattdangerw requested a review from jbischof January 13, 2023 20:28
@mattdangerw
Copy link
Member Author

Removing reviewers while I fix tests!

@mattdangerw mattdangerw removed the request for review from jbischof January 13, 2023 21:18
Copy link
Contributor

@jbischof jbischof left a comment

Choose a reason for hiding this comment

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

Truly brilliant!

Make sure to check a few docstrings in your dev branch before committing just for sanity.

@mattdangerw
Copy link
Member Author

@mattdangerw mattdangerw merged commit 7dadc61 into keras-team:master Jan 18, 2023
@mattdangerw mattdangerw mentioned this pull request Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants