docstring-inheritance
docstring-inheritance copied to clipboard
Add `inherit_docstring` decorator to inherit docstring
Closes #9.
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 Report
All modified and coverable lines are covered by tests :white_check_mark:
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
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.