Sha256: ecbbda475b83f7819e946f1a70a1b14a7e40282e60356dae5526009203502f6c

Contents?: true

Size: 542 Bytes

Versions: 61

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_python_base0/executables'
require 'avm/eac_generic_base0/file_formats/base'

module Avm
  module EacPythonBase0
    module FileFormats
      class Base < ::Avm::EacGenericBase0::FileFormats::Base
        VALID_BASENAMES = %w[*.py].freeze
        VALID_TYPES = ['x-python', 'x-script.python'].freeze

        def internal_apply(files)
          ::Avm::EacPythonBase0::Executables.yapf.command.append(['--in-place', *files]).system!
          super(files)
        end
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
avm-eac_python_base0-0.2.2 lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.83.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.82.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.81.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.80.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.79.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.78.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.77.1 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.77.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.76.1 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.76.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.75.2 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.75.1 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.75.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.74.1 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.74.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.73.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.72.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.70.1 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb
eac_tools-0.70.0 sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb