<commit_before>class Astro < Formula
  desc "To build and run Airflow DAGs locally and interact with the Astronomer API"
  homepage "https://www.astronomer.io/"
  url "https://github.com/astronomer/astro-cli/archive/refs/tags/v1.7.0.tar.gz"
  sha256 "45e71932f1653996c37e58f6e69c83b77121ae337e1932e07979764fc9abc1f8"
  license "Apache-2.0"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_ventura:  "f39eb2c24436444571706fb614b40084fd0e4ea076f178a01c37b7f45ca97fe3"
    sha256 cellar: :any_skip_relocation, arm64_monterey: "f39eb2c24436444571706fb614b40084fd0e4ea076f178a01c37b7f45ca97fe3"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "f39eb2c24436444571706fb614b40084fd0e4ea076f178a01c37b7f45ca97fe3"
    sha256 cellar: :any_skip_relocation, monterey:       "e15e8dfd0db310e8dd819099310fba12ca1d5b8167a5e171f4e418a56ade357a"
    sha256 cellar: :any_skip_relocation, big_sur:        "e15e8dfd0db310e8dd819099310fba12ca1d5b8167a5e171f4e418a56ade357a"
    sha256 cellar: :any_skip_relocation, catalina:       "e15e8dfd0db310e8dd819099310fba12ca1d5b8167a5e171f4e418a56ade357a"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "f4cdc48f67c7593c1bdf1ce4fa62e4f3bc4f56fafbb1f5a24921a8523b6a2a83"
  end

  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    system "go", "build", *std_go_args(ldflags: "-s -w -X github.com/astronomer/astro-cli/version.CurrVersion=#{version}")

    generate_completions_from_executable(bin/"astro", "completion")<commit_msg>astro: update 1.7.0 bottle.<commit_after>class Astro < Formula
  desc "To build and run Airflow DAGs locally and interact with the Astronomer API"
  homepage "https://www.astronomer.io/"
  url "https://github.com/astronomer/astro-cli/archive/refs/tags/v1.7.0.tar.gz"
  sha256 "45e71932f1653996c37e58f6e69c83b77121ae337e1932e07979764fc9abc1f8"
  license "Apache-2.0"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_ventura:  "f39eb2c24436444571706fb614b40084fd0e4ea076f178a01c37b7f45ca97fe3"
    sha256 cellar: :any_skip_relocation, arm64_monterey: "f39eb2c24436444571706fb614b40084fd0e4ea076f178a01c37b7f45ca97fe3"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "f39eb2c24436444571706fb614b40084fd0e4ea076f178a01c37b7f45ca97fe3"
    sha256 cellar: :any_skip_relocation, ventura:        "e15e8dfd0db310e8dd819099310fba12ca1d5b8167a5e171f4e418a56ade357a"
    sha256 cellar: :any_skip_relocation, monterey:       "e15e8dfd0db310e8dd819099310fba12ca1d5b8167a5e171f4e418a56ade357a"
    sha256 cellar: :any_skip_relocation, big_sur:        "e15e8dfd0db310e8dd819099310fba12ca1d5b8167a5e171f4e418a56ade357a"
    sha256 cellar: :any_skip_relocation, catalina:       "e15e8dfd0db310e8dd819099310fba12ca1d5b8167a5e171f4e418a56ade357a"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "f4cdc48f67c7593c1bdf1ce4fa62e4f3bc4f56fafbb1f5a24921a8523b6a2a83"
  end

  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    system "go", "build", *std_go_args(ldflags: "-s -w -X github.com/astronomer/astro-cli/version.CurrVersion=#{version}")

    generate_completions_from_executable(bin/"astro", "completion")
{'fraction_non_alphanumeric': 0.07997557997557997, 'fraction_numerical': 0.23504273504273504, 'mean_word_length': 6.139433551198257, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '4070071', 'n_tokens_mistral': 1846, 'n_tokens_neox': 1449, 'n_words': 181}