-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
pyreverse: remove duplicated aggregations #83
Comments
Original comment by space one (BitBucket: spaceone, GitHub: @spaceone?): if it helps: it happened when i had protected class members.
|
Original comment by Emile Anclin (BitBucket: anclin, GitHub: @Anclin?): With the given example, I couldn't reproduce a behavior where the method "bar" appears two times in the diagram. This is true for the current state and earlier releases, going as far back as astng 0.24 / Pylint 0.26... By default, Pyreverse calls for method research "node.values()" which returns the first node of each name in node.locals (I don't know why it is/should be the first one though). I think, if there is a duplicated attribute, it must be in a more complicated situation... |
Original comment by Sylvain Thénault (BitBucket: sthenault, GitHub: @sthenault?): invalid or deprecated. Feel free to reopen if you may provide a way to reproduce this with recent pylint version. |
I have a similar issue, using pylint 2.14.5 and Python 3.8 on this minimal example:
Is there a way to stop the duplicates from showing up or is this the expected behavior? |
Originally reported by: Anonymous
i had some strange cases where i had two the same aggregations for a class. They should be removed.
The text was updated successfully, but these errors were encountered: