Skip to content

Commit 0cce815

Browse files
committed
Remove TODO since this now works
1 parent 2521686 commit 0cce815

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
@@ -407,7 +407,6 @@ def handle(self, node: nodes.AssignAttr, parent: nodes.ClassDef) -> None:
407407
return
408408

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

0 commit comments

Comments
 (0)