Sha256: 01b204f348a39ebbb7a3c85d36fd662c97d16875459b45ead8a358a47c7b3fa4

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

module Quality
  module Tools
    # Adds 'pep8' tool support to quality gem
    module Pep8
      private

      def pep8_args
        python_files.join(' ')
      end

      def quality_pep8
        ratchet_quality_cmd('pep8',
                            args: pep8_args) do |line|
          line.split(':')[0].to_i
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quality-18.0.0 lib/quality/tools/pep8.rb