-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
[BUG] Enum's __class__ etc. are pulled in when inherited_members is true #107
Comments
BTW - workaround was to filter anything that starts with |
Whether we should filter out members starting with |
Agree, though maybe special handling there? Does it make sense to pull |
Describe the bug
I've set inherited_memberse to true in my selector to pull in members that are inherited from classes that I've built. Essentially, I have a class Mergeable, that has some methods and attributes, and many classes inherit from it. However, this is also applying to Enum and is pulling in noise.
To Reproduce
Use mkdocs+mkdocstring on a Python file that has an Enum in it, and set inherited_members to true.
Expected behavior
The class and similar aspects shouldn't be collected. There's no point in documenting these are part of mkdocs.
System (please complete the following information):
pytkdocs
version 0.11.1The text was updated successfully, but these errors were encountered: