Skip to content

Commit 6e35d4b

Browse files
committed
Remove TODO since this now works
1 parent 4362e85 commit 6e35d4b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pylint/pyreverse/inspector.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ def handle(self, node: nodes.AssignAttr, parent: nodes.ClassDef) -> None:
408408
return
409409

410410
# Aggregation: comprehensions without object creation (self.x = [existing_obj for ...])
411-
# TODO: Currently inferring type of existing_obj is not reliable ==> improve once astroid supports it
412411
if isinstance(
413412
value, (nodes.ListComp, nodes.DictComp, nodes.SetComp, nodes.GeneratorExp)
414413
):

0 commit comments

Comments
 (0)