bug: Parent class' __init__
docstring merged into class docstring even if inherited members are not picked up
#189
Labels
bug
Something isn't working
Description of the bug
The
merge_init_into_class
option will merge the docstring of parent__init__
methods into the class docstring even if configuration does not select inherited members.To Reproduce
merge_init_into_class
to trueinherited_members
to falseFull traceback
/
Expected behavior
The parent docstring shouldn't be merged into the class one if the parent
__init__
method is not selected, or if inherited members are not picked up at all.Environment information
python -m mkdocstrings_handlers.python.debug # | xclip -selection clipboard
mkdocs
v1.6.1mkdocstrings
v0.26.1mkdocstrings-python
v1.11.1griffe
v1.3.2Additional context
Brought up in the Matrix channel.
The text was updated successfully, but these errors were encountered: