Skip to content

Commit 3bfca11

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 84f16b1 commit 3bfca11

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/whatsnew/fragments/10373.bugfix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Fix a bug in Pyreverse where aggregations and associations were included in diagrams regardless of the selected --filter-mode (such as PUB_ONLY, ALL, etc.).
22

3-
Closes #10373
3+
Closes #10373

pylint/pyreverse/diagrams.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def extract_relationships(self) -> None:
239239
for value in values:
240240
if not self.show_attr(name):
241241
continue
242-
242+
243243
self.assign_association_relationship(
244244
value, obj, name, "aggregation"
245245
)
@@ -254,7 +254,7 @@ def extract_relationships(self) -> None:
254254
for value in values:
255255
if not self.show_attr(name):
256256
continue
257-
257+
258258
self.assign_association_relationship(
259259
value, obj, name, "association"
260260
)

0 commit comments

Comments
 (0)