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

Add inherit_docstring decorator to inherit docstring #10

Closed
wants to merge 1 commit into from

Conversation

haiiliin
Copy link

Closes #9.

@AntoineD
Copy link
Owner

Hello and thank you for this PR!

Like for the metaclasses, would you mind creating one decorator per style?

For performance reasons, would you also mind preventing the decorator from changing the docstring after the first call?

@codecov-commenter
Copy link

codecov-commenter commented Oct 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (be17920) to head (daddf96).
Report is 46 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #10   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          273       281    +8     
  Branches        61        61           
=========================================
+ Hits           273       281    +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@haiiliin haiiliin closed this Oct 18, 2024
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.

Decorator to inherit docstring
3 participants