Skip to content
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

Fix Pyreverse duplicate arrows bug #9029

Merged
merged 1 commit into from
Sep 16, 2023

Conversation

nickdrozd
Copy link
Collaborator

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

Closes #8522

@nickdrozd
Copy link
Collaborator Author

The logic is similar to #9004. Rather than pulling in all annotated fields and all local assignments, we pull in the annotated fields and then only pull in those local assignments that haven't already been seen

@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Merging #9029 (809d391) into main (1523c89) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9029   +/-   ##
=======================================
  Coverage   95.75%   95.75%           
=======================================
  Files         173      173           
  Lines       18648    18652    +4     
=======================================
+ Hits        17856    17860    +4     
  Misses        792      792           
Files Changed Coverage Ξ”
pylint/pyreverse/diagrams.py 93.37% <100.00%> (+0.14%) ⬆️

@github-actions
Copy link
Contributor

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 809d391

Copy link
Collaborator

@DudeNr33 DudeNr33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for all the fixes lately and the good preparation with the test cases to easily see what changed!

@DudeNr33 DudeNr33 merged commit 3f93f1e into pylint-dev:main Sep 16, 2023
50 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 16, 2023
Pierre-Sassoulas pushed a commit that referenced this pull request Sep 16, 2023
(cherry picked from commit 3f93f1e)

Co-authored-by: Nick Drozd <nicholasdrozd@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backported Bug πŸͺ² pyreverse Related to pyreverse component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pyreverse duplicate arrows
3 participants