<commit_before>module Phare
  module Checks
    class RubyRubocop
      attr_reader :status

      def initialize
        @command = 'bundle exec rubocop'
      end

      def run
        if should_run?
          print_banner
          system(@command)
          @status = $CHILD_STATUS.exitstatus

          unless @status == 0
            puts "Something went wrong. Program exited with #{@status}"
          end

          puts ''
        else
          @status = 0
        end
      end
<commit_msg>Remove bundle exec from Rubocop check<commit_after>module Phare
  module Checks
    class RubyRubocop
      attr_reader :status

      def initialize
        @command = 'rubocop'
      end

      def run
        if should_run?
          print_banner
          system(@command)
          @status = $CHILD_STATUS.exitstatus

          unless @status == 0
            puts "Something went wrong. Program exited with #{@status}"
          end

          puts ''
        else
          @status = 0
        end
      end

{'fraction_non_alphanumeric': 0.05893909626719057, 'fraction_numerical': 0.003929273084479371, 'mean_word_length': 1.4975490196078431, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7298191', 'n_tokens_mistral': 282, 'n_tokens_neox': 269, 'n_words': 85}