def METHOD_NAME():
    """
    Named expression follows unrelated item in container.
    If 23 is replaced with `val3`, there is currently a false negative,
    but the false positive here is more important and likely to occur."""
    return [23, val3 if (val3 := 'something') else 'anything']