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

Inner section merging and special method option #31

Merged
merged 2 commits into from
May 25, 2020

Conversation

benoit-fuentes
Copy link

Hi,

here is my contribution to your nice package, with three new built-in styles allowing to merge inner sections of parent and child, as well as an option to include specials methods like init into the docstring merge process.

It is a answer to issues #25 and #30

I wrote new tests for those improvements, updated docstrings and the readme file. You can review it (i might have made some syntax mistakes, english is not my native language).

I didn't update the CHANGELOG file nor the version: I let you to do it.

I also fixed what seems to be a bug in the main init.py and tests you wrote for the numpy_napoleon style which didn't seem to respect the correct syntax (it seems to me that there is no "Extended Summary" section in the napoleon style).

Feel free to make any comment on things you would like me to change.

Cheers

@rsokl
Copy link
Owner

rsokl commented May 20, 2020

This PR is looking great! Thank you for this. I hope to be able to review it soon.

@Zeitsperre
Copy link

Looks like the build passed but the (duplicated?) statuses never made it to GitHub. Really looking forward to this PR!

@rsokl rsokl merged commit 27c7f7a into rsokl:master May 25, 2020
@rsokl
Copy link
Owner

rsokl commented May 25, 2020

@Boubsi @Zeitsperre custom-inherit 2.3.0 is available on pypi and conda-forge now

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.

3 participants