<commit_before>class Aztfy < Formula
  desc "Bring your existing Azure resources under the management of Terraform"
  homepage "https://azure.github.io/aztfy"
  url "https://github.com/Azure/aztfy.git",
      tag:      "v0.9.0",
      revision: "a3341dd6789691086c838b3db2b3e7d4e1342be6"
  license "MPL-2.0"
  head "https://github.com/Azure/aztfy.git", branch: "main"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_ventura:  "abffdff6981f5b0016c3638c1c459a4bf688bd249cedcccdef18847f280a720a"
    sha256 cellar: :any_skip_relocation, arm64_monterey: "83da354f9299b620ffdff845784772bc254bbe31a6fba78c430ad37a52812202"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "83da354f9299b620ffdff845784772bc254bbe31a6fba78c430ad37a52812202"
    sha256 cellar: :any_skip_relocation, monterey:       "a38f8a1c8ba65951d1993cacdb4f310524d6b41f11c6251c22020a56e17d144c"
    sha256 cellar: :any_skip_relocation, big_sur:        "a38f8a1c8ba65951d1993cacdb4f310524d6b41f11c6251c22020a56e17d144c"
    sha256 cellar: :any_skip_relocation, catalina:       "a38f8a1c8ba65951d1993cacdb4f310524d6b41f11c6251c22020a56e17d144c"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "3ea928014ffbbc9918f84b96ea7266ccf6862527fce66dcad28c4208b720842d"
  end
  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    system "go", "build", *std_go_args(ldflags: "-s -w -X 'main.version=v#{version}' -X 'main.revision=#{Utils.git_short_head(length: 7)}'")
  end

  test do
    version_output = shell_output("#{bin}/aztfy -v")
    assert_match version.to_s, version_output

    no_resource_group_specified_output = shell_output("#{bin}/aztfy rg 2>&1", 1)
    assert_match("Error: retrieving subscription id from CLI", no_resource_group_specified_output)
  end
end
<commit_msg>aztfy: update 0.9.0 bottle.<commit_after>class Aztfy < Formula
  desc "Bring your existing Azure resources under the management of Terraform"
  homepage "https://azure.github.io/aztfy"
  url "https://github.com/Azure/aztfy.git",
      tag:      "v0.9.0",
      revision: "a3341dd6789691086c838b3db2b3e7d4e1342be6"
  license "MPL-2.0"
  head "https://github.com/Azure/aztfy.git", branch: "main"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_ventura:  "795205276eb37c16f360d73e24af8a79386e5c361b75707e8c62704f824ac612"
    sha256 cellar: :any_skip_relocation, arm64_monterey: "795205276eb37c16f360d73e24af8a79386e5c361b75707e8c62704f824ac612"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "795205276eb37c16f360d73e24af8a79386e5c361b75707e8c62704f824ac612"
    sha256 cellar: :any_skip_relocation, monterey:       "c3a39ba41daaec2e319275f4733724608b6eada2e593d0ec165bbae155e02ae5"
    sha256 cellar: :any_skip_relocation, big_sur:        "c3a39ba41daaec2e319275f4733724608b6eada2e593d0ec165bbae155e02ae5"
    sha256 cellar: :any_skip_relocation, catalina:       "c3a39ba41daaec2e319275f4733724608b6eada2e593d0ec165bbae155e02ae5"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "41161e9eb4380afce7c09b35d292613c25ae6da14536b17543e6b7279ddb6a63"
  end
  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    system "go", "build", *std_go_args(ldflags: "-s -w -X 'main.version=v#{version}' -X 'main.revision=#{Utils.git_short_head(length: 7)}'")
  end

  test do
    version_output = shell_output("#{bin}/aztfy -v")
    assert_match version.to_s, version_output

    no_resource_group_specified_output = shell_output("#{bin}/aztfy rg 2>&1", 1)
    assert_match("Error: retrieving subscription id from CLI", no_resource_group_specified_output)
  end
end

{'fraction_non_alphanumeric': 0.0947603121516165, 'fraction_numerical': 0.20011148272017837, 'mean_word_length': 5.708411214953271, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '59447', 'n_tokens_mistral': 1911, 'n_tokens_neox': 1510, 'n_words': 217}