<commit_before>require "language/node"

class Pyright < Formula
  desc "Static type checker for Python"
  homepage "https://github.com/microsoft/pyright"
  url "https://registry.npmjs.org/pyright/-/pyright-1.1.189.tgz"
  sha256 "d6f3ff95234564bd3b37d59377d1937b4f8b878dacc7de1b36c143fc8ab9f348"
  license "MIT"
  head "https://github.com/microsoft/pyright.git", branch: "main"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "f7fedcd730d368a8233f45ca3929f9d1b259129b4b8817b09ef87d8c91edc3e0"
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]<commit_msg>pyright: update 1.1.189 bottle.<commit_after>require "language/node"

class Pyright < Formula
  desc "Static type checker for Python"
  homepage "https://github.com/microsoft/pyright"
  url "https://registry.npmjs.org/pyright/-/pyright-1.1.189.tgz"
  sha256 "d6f3ff95234564bd3b37d59377d1937b4f8b878dacc7de1b36c143fc8ab9f348"
  license "MIT"
  head "https://github.com/microsoft/pyright.git", branch: "main"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "e88bd00da49fc4b689606313302b559b156243fdb9c989111ea16e0421a3fa63"
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
{'fraction_non_alphanumeric': 0.11918604651162791, 'fraction_numerical': 0.13662790697674418, 'mean_word_length': 5.345622119815668, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '186514', 'n_tokens_mistral': 655, 'n_tokens_neox': 543, 'n_words': 84}