<commit_before>class SourceToImage < Formula
  desc "Tool for building source and injecting into docker images"
  homepage "https://github.com/openshift/source-to-image"
  url "https://github.com/openshift/source-to-image.git",
      tag:      "v1.3.1",
      revision: "a5a771479f73be6be4207aadc730351e515aedfb"
  license "Apache-2.0"
  head "https://github.com/openshift/source-to-image.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "b5ac084c3947f1729b436f7928760e3b33e26d1929dde39a6f53baee93103b38"
    sha256 cellar: :any_skip_relocation, big_sur:       "885c70eb74a6c0faf5cebdf1468820a26ce8ac08a555821c3d419c7725e09256"
    sha256 cellar: :any_skip_relocation, catalina:      "3fbf3469cf68fa605bbac9b3cb726ffc5c1f485d27dcacd4b9310e24e8d165e4"
    sha256 cellar: :any_skip_relocation, mojave:        "c576266fcc9e09cfae7ea91d9bc6f76b4aad025d087cf11acfe94218cdfe1774"
    sha256 cellar: :any_skip_relocation, high_sierra:   "29fb2fc7a031e904e743264878f9a4010e7c5d6aa0a3091ea0ec1038f312a5ca"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "bcecc2baa3cde24a76d98e4771268feff6c28f91f8e0b4260c3d355027c1988f"
  end

  depends_on "go" => :build

  def install
    system "hack/build-go.sh"
    os = "darwin"
    on_linux do
      os = "linux"
    end
    arch = Hardware::CPU.arm? ? "arm64" : "amd64"
    bin.install "_output/local/bin/#{os}/#{arch}/s2i"
  end

  test do
    system "#{bin}/s2i", "create", "testimage", testpath
    assert_predicate testpath/"Dockerfile", :exist?, "s2i did not create the files."
  end
end<commit_msg>source-to-image: fix brew style.<commit_after>class SourceToImage < Formula
  desc "Tool for building source and injecting into docker images"
  homepage "https://github.com/openshift/source-to-image"
  url "https://github.com/openshift/source-to-image.git",
      tag:      "v1.3.1",
      revision: "a5a771479f73be6be4207aadc730351e515aedfb"
  license "Apache-2.0"
  head "https://github.com/openshift/source-to-image.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "b5ac084c3947f1729b436f7928760e3b33e26d1929dde39a6f53baee93103b38"
    sha256 cellar: :any_skip_relocation, big_sur:       "885c70eb74a6c0faf5cebdf1468820a26ce8ac08a555821c3d419c7725e09256"
    sha256 cellar: :any_skip_relocation, catalina:      "3fbf3469cf68fa605bbac9b3cb726ffc5c1f485d27dcacd4b9310e24e8d165e4"
    sha256 cellar: :any_skip_relocation, mojave:        "c576266fcc9e09cfae7ea91d9bc6f76b4aad025d087cf11acfe94218cdfe1774"
    sha256 cellar: :any_skip_relocation, high_sierra:   "29fb2fc7a031e904e743264878f9a4010e7c5d6aa0a3091ea0ec1038f312a5ca"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "bcecc2baa3cde24a76d98e4771268feff6c28f91f8e0b4260c3d355027c1988f"
  end

  depends_on "go" => :build

  def install
    system "hack/build-go.sh"
    os = if OS.mac?
      "darwin"
    else
      "linux"
    end
    arch = Hardware::CPU.arm? ? "arm64" : "amd64"
    bin.install "_output/local/bin/#{os}/#{arch}/s2i"
  end

  test do
    system "#{bin}/s2i", "create", "testimage", testpath
    assert_predicate testpath/"Dockerfile", :exist?, "s2i did not create the files."
  end
end
{'fraction_non_alphanumeric': 0.0990625, 'fraction_numerical': 0.180625, 'mean_word_length': 4.726296958855098, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '4522163', 'n_tokens_mistral': 1661, 'n_tokens_neox': 1366, 'n_words': 200}