# File lib/puppet-lint.rb, line 129 def report(problems) problems.each do |message| next if message[:kind] == :ignored && !PuppetLint.configuration.show_ignored message[:KIND] = message[:kind].to_s.upcase message[:linenumber] = message[:line] if message[:kind] == :fixed || [message[:kind], :all].include?(configuration.error_level) format_message message print_context(message) if configuration.with_context end end end