def check_for_indent_warnings!(line, filename)
      return [] if line == ""
      indent_size = get_indent_size line
      if indent_size > current_indent
        self.indent_stack.push indent_size
      elsif indent_size < current_indent
        previous = self.indent_stack.pop
        if indent_size != current_indent &&
           using.include?(MisalignedUnindentationWarning)
          warnings_to_check = [MisalignedUnindentationWarning.new(filename, line, current_indent)]
          return filtered_warnings_from_line(line, warnings_to_check)
        end
      end
      []
    end
def check_for_indent_warnings!(line, filename)
      return [] if line == ""
      indent_size = get_indent_size line
      if indent_size > current_indent
        self.indent_stack.push indent_size
      elsif indent_size < current_indent
        previous = self.indent_stack.pop
        if indent_size != current_indent &&
           using.include?(MisalignedUnindentationWarning)
          warnings_to_check = [MisalignedUnindentationWarning.new(filename, line, current_indent)]
          return filtered_warnings_from_line(line, warnings_to_check)
        end
      end
      []
    end
Checks for new warnings based on indentation.