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 eab2b06Copy full SHA for eab2b06
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( # pylint: disable=unnecessary-lambda-assignment # noqa
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