We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3969f5d commit 96b5d73Copy full SHA for 96b5d73
astroid/nodes/scoped_nodes/scoped_nodes.py
@@ -1586,7 +1586,7 @@ def infer_call_result(
1586
if isinstance(metaclass, ClassDef):
1587
try:
1588
# Find the first non-None inferred base value
1589
- get_base = lambda arg: next(
+ get_base = lambda arg: next( # noqa: E731
1590
b
1591
for b in arg.infer(context=context.clone() if context else None)
1592
if not (isinstance(b, node_classes.Const) and b.value is None)
0 commit comments