Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[pyreverse] Fix duplicate arrows when class attribute is assigned more than once#10333

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
pranav-data wants to merge27 commits intopylint-dev:main
base:main
Choose a base branch
Loading
frompranav-data:main
Open
Changes from1 commit
Commits
Show all changes
27 commits
Select commitHold shift + click to select a range
1796316
remove duplicate classes
Apr 9, 2025
8690160
write_classes wdit
Apr 9, 2025
8338f9c
deduplicate classes
Apr 9, 2025
9c86b3b
deduplicate relationships as well
Apr 9, 2025
364da44
attempt1 to fix
Apr 9, 2025
997afb6
use DiagramEntity title
Apr 9, 2025
5212bcd
list iteration in relationships
Apr 9, 2025
27cb36e
bugfix relationships
Apr 9, 2025
1e6d020
error fix
Apr 9, 2025
9fd85dc
default dict
Apr 9, 2025
e373aa6
Revert "remove duplicate classes"
Apr 9, 2025
c7bb438
Revert "write_classes wdit"
Apr 9, 2025
cdcdbbf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]Apr 9, 2025
0aedc80
Made mypy suggestions and added test
Apr 10, 2025
b64b36c
Merge branch 'main' of https://github.com/pranav-data/pylint
Apr 10, 2025
4d83b3a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]Apr 10, 2025
eeccaf1
removed deprecated Tuple
Apr 10, 2025
3748219
Merge branch 'main' of https://github.com/pranav-data/pylint
Apr 10, 2025
442d2f5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]Apr 10, 2025
c0f0cc0
tuple from builtins
Apr 10, 2025
54a6e25
Merge branch 'main' of https://github.com/pranav-data/pylint
Apr 10, 2025
b85d720
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]Apr 10, 2025
0c4f401
Fixed formatting of .mmd for test
Apr 10, 2025
be38db4
Merge branch 'main' of https://github.com/pranav-data/pylint
Apr 10, 2025
0d89cc9
Passed all linter and mypy checks
Apr 10, 2025
5e8223c
Removed unnecessary block
Apr 10, 2025
608bbc0
Remove pyvenv.cfg from version control
Apr 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Revert "remove duplicate classes"
This reverts commit1796316.
  • Loading branch information
Pranav Kumar Seerala committedApr 9, 2025
commite373aa6ffbcd5286650192fe1ff107fc7998f0eb
2 changes: 1 addition & 1 deletionpylint/pyreverse/diagrams.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -210,7 +210,7 @@ def object_from_node(self, node: nodes.NodeNG) -> DiagramEntity:

def classes(self) -> list[ClassEntity]:
"""Return all class nodes in the diagram."""
returnlist(set([o for o in self.objects if isinstance(o, ClassEntity)]))
return [o for o in self.objects if isinstance(o, ClassEntity)]

def classe(self, name: str) -> ClassEntity:
"""Return a class by its name, raise KeyError if not found."""
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp