python
python copied to clipboard
feature: Filter shown base classes
Is your feature request related to a problem? Please describe.
There is already an option show_bases
to fully enable or disable whether base classes are shown. I'd like to be able to hide only internal base classes (name starts with an underscore) but still show the others.
Describe the solution you'd like
An option to filter which base classes are displayed. Maybe the existing filters
option could be applied to base classes as well.
Describe alternatives you've considered
- Add a new value to
show_bases
likefiltered
to apply the filters. - Separate
filter_bases
options.
Additional context
This is especially useful when inherited_members
is set to true.
Also thanks for the awesome tool, it's a joy to use.
Hello, thanks for the feature request! I agree that it would make sense to filter shown bases in accordance with filters
:thinking: Let me think about it a bit more.