def line_to_long(line, line_index):
    """Check if line is not to long."""
    length = len(line)
    if length >= 110:
        return {'range': {'start': {'line': line_index,
                                    'character': 0},
                          'end': {'line': line_index,
                                  'character': 0}},
                'message': "Line to long ({},{})".format(length, 110)}
    return None