<commit_before>class DockerCompose < Formula
  include Language::Python::Virtualenv

  desc "Isolated development environments using Docker"
  homepage "https://docs.docker.com/compose/"
  url "https://github.com/docker/compose/archive/1.23.0.tar.gz"
  sha256 "7feb501d4e33d3c5771a68e49f6823901a414ad43514c60afa9eae43fe93e12f"
  head "https://github.com/docker/compose.git"

  bottle do
    cellar :any
    sha256 "51bacfa01d294dfb81b88a4fbf65074caa4600485079e778baaf716a35c6ab44" => :mojave
    sha256 "5ee9271af248726f39acb843f93ef298d1953049f27bc9943242c97c20435559" => :high_sierra
    sha256 "e52e74369bbaf4a6f25f9272265aed4fa6c6725cde101c1d75cbb82f308c6aca" => :sierra
  end

  depends_on "libyaml"
  depends_on "python"

  def install
    system "./script/build/write-git-sha" if build.head?
    venv = virtualenv_create(libexec, "python3")
    system libexec/"bin/pip", "install", "-v", "--no-binary", ":all:",
                              "--ignore-installed", buildpath
    system libexec/"bin/pip", "uninstall", "-y", "docker-compose"
    venv.pip_install_and_link buildpath

    bash_completion.install "contrib/completion/bash/docker-compose"
    zsh_completion.install "contrib/completion/zsh/_docker-compose"
  end

  test do
    system bin/"docker-compose", "--help"<commit_msg>docker-compose 1.23.1<commit_after>class DockerCompose < Formula
  include Language::Python::Virtualenv

  desc "Isolated development environments using Docker"
  homepage "https://docs.docker.com/compose/"
  url "https://github.com/docker/compose/archive/1.23.1.tar.gz"
  sha256 "843a458d366ca1d41ceec08b3387ba55c6953eba3a171d6af90db0b01f494312"
  head "https://github.com/docker/compose.git"

  bottle do
    cellar :any
    sha256 "51bacfa01d294dfb81b88a4fbf65074caa4600485079e778baaf716a35c6ab44" => :mojave
    sha256 "5ee9271af248726f39acb843f93ef298d1953049f27bc9943242c97c20435559" => :high_sierra
    sha256 "e52e74369bbaf4a6f25f9272265aed4fa6c6725cde101c1d75cbb82f308c6aca" => :sierra
  end

  depends_on "libyaml"
  depends_on "python"

  def install
    system "./script/build/write-git-sha" if build.head?
    venv = virtualenv_create(libexec, "python3")
    system libexec/"bin/pip", "install", "-v", "--no-binary", ":all:",
                              "--ignore-installed", buildpath
    system libexec/"bin/pip", "uninstall", "-y", "docker-compose"
    venv.pip_install_and_link buildpath

    bash_completion.install "contrib/completion/bash/docker-compose"
    zsh_completion.install "contrib/completion/zsh/_docker-compose"
  end

  test do
    system bin/"docker-compose", "--help"
{'fraction_non_alphanumeric': 0.11508852963818322, 'fraction_numerical': 0.13856812933025403, 'mean_word_length': 4.293279022403259, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 9, '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': '7454003', 'n_tokens_mistral': 1210, 'n_tokens_neox': 975, 'n_words': 142}