From 8ce9ffe660e4decfb7dcc95a558b6ce59947a989 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 21 Mar 2024 00:20:03 +0000 Subject: [PATCH] sorbet: Update RBI files. Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. --- .../sorbet/rbi/dsl/homebrew/cli/args.rbi | 128 +----------------- .../sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi | 88 ++++++++++++ .../rbi/dsl/homebrew/dev_cmd/bottle.rbi | 46 +++++++ .../sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi | 49 +++++++ .../rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi | 61 +++++++++ .../dsl/homebrew/dev_cmd/bump_formula_pr.rbi | 76 +++++++++++ .../dsl/homebrew/dev_cmd/bump_revision.rbi | 22 +++ .../dev_cmd/bump_unversioned_cask.rbi | 19 +++ .../sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi | 19 +++ .../rbi/dsl/homebrew/dev_cmd/command.rbi | 7 + .../dsl/homebrew/dev_cmd/contributions.rbi | 22 +++ 11 files changed, 410 insertions(+), 127 deletions(-) create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_cask.rbi create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi index 06f3fb5b04f17..a0c1be814fff9 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi @@ -125,9 +125,6 @@ class Homebrew::CLI::Args sig { returns(T.nilable(String)) } def commit; end - sig { returns(T::Boolean) } - def commit?; end - sig { returns(T.nilable(String)) } def committer; end @@ -140,9 +137,6 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def crystal?; end - sig { returns(T::Boolean) } - def csv?; end - sig { returns(T::Boolean) } def custom_remote?; end @@ -185,9 +179,6 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def display_cop_names?; end - sig { returns(T::Boolean) } - def display_filename?; end - sig { returns(T::Boolean) } def display_times?; end @@ -209,9 +200,6 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def examples?; end - sig { returns(T.nilable(T::Array[String])) } - def except; end - sig { returns(T.nilable(T::Array[String])) } def except_cops; end @@ -257,21 +245,12 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def force_bottle?; end - sig { returns(T::Boolean) } - def force_core_tap?; end - - sig { returns(T.nilable(String)) } - def fork_org; end - sig { returns(T::Boolean) } def formula?; end sig { returns(T::Boolean) } def formulae?; end - sig { returns(T.nilable(String)) } - def from; end - sig { returns(T::Boolean) } def full_name?; end @@ -395,9 +374,6 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def large_runner?; end - sig { returns(T.nilable(String)) } - def limit; end - sig { returns(T::Boolean) } def linux?; end @@ -428,9 +404,6 @@ class Homebrew::CLI::Args sig { returns(T.nilable(String)) } def mdimporterdir; end - sig { returns(T::Boolean) } - def merge?; end - sig { returns(T::Boolean) } def meson?; end @@ -440,9 +413,6 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def minor?; end - sig { returns(T.nilable(T::Array[String])) } - def mirror; end - sig { returns(T::Boolean) } def missing?; end @@ -455,30 +425,12 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def name?; end - sig { returns(T::Boolean) } - def new?; end - - sig { returns(T::Boolean) } - def new_cask?; end - - sig { returns(T::Boolean) } - def new_formula?; end - sig { returns(T::Boolean) } def new_issue?; end sig { returns(T::Boolean) } def newer_only?; end - sig { returns(T::Boolean) } - def no_all_checks?; end - - sig { returns(T::Boolean) } - def no_audit?; end - - sig { returns(T::Boolean) } - def no_browse?; end - sig { returns(T::Boolean) } def no_cherry_pick?; end @@ -488,24 +440,12 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def no_fetch?; end - sig { returns(T::Boolean) } - def no_fork?; end - sig { returns(T::Boolean) } def no_git?; end - sig { returns(T::Boolean) } - def no_pull_requests?; end - - sig { returns(T::Boolean) } - def no_rebuild?; end - sig { returns(T::Boolean) } def no_simulate?; end - sig { returns(T::Boolean) } - def no_style?; end - sig { returns(T::Boolean) } def no_upload?; end @@ -521,7 +461,7 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def online?; end - sig { returns(T.nilable(T::Array[String])) } + sig { returns(T.nilable(String)) } def only; end sig { returns(T.nilable(T::Array[String])) } @@ -530,15 +470,9 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def only_dependencies?; end - sig { returns(T::Boolean) } - def only_json_tab?; end - sig { returns(T::Boolean) } def open?; end - sig { returns(T::Boolean) } - def open_pr?; end - sig { returns(T::Boolean) } def opensuse?; end @@ -602,15 +536,6 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def python?; end - sig { returns(T.nilable(T::Array[String])) } - def python_exclude_packages; end - - sig { returns(T.nilable(T::Array[String])) } - def python_extra_packages; end - - sig { returns(T.nilable(String)) } - def python_package_name; end - sig { returns(T.nilable(String)) } def qlplugindir; end @@ -626,18 +551,12 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def recursive?; end - sig { returns(T::Boolean) } - def remove_bottle_block?; end - sig { returns(T::Boolean) } def repair?; end sig { returns(T::Boolean) } def repology?; end - sig { returns(T.nilable(T::Array[String])) } - def repositories; end - sig { returns(T::Boolean) } def require_sha?; end @@ -659,9 +578,6 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def reverse?; end - sig { returns(T.nilable(String)) } - def revision; end - sig { returns(T.nilable(String)) } def root_url; end @@ -698,15 +614,9 @@ class Homebrew::CLI::Args sig { returns(T.nilable(String)) } def set_version; end - sig { returns(T.nilable(String)) } - def sha256; end - sig { returns(T.nilable(String)) } def shell; end - sig { returns(T.nilable(String)) } - def signing?; end - sig { returns(T::Boolean) } def silent?; end @@ -719,21 +629,9 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def skip_recommended?; end - sig { returns(T::Boolean) } - def skip_relocation?; end - - sig { returns(T::Boolean) } - def skip_style?; end - - sig { returns(T.nilable(String)) } - def start_with; end - sig { returns(T::Boolean) } def stat?; end - sig { returns(T.nilable(String)) } - def state_file; end - sig { returns(T::Boolean) } def strict?; end @@ -755,15 +653,9 @@ class Homebrew::CLI::Args sig { returns(T.nilable(String)) } def timeout; end - sig { returns(T.nilable(String)) } - def to; end - sig { returns(T::Boolean) } def to_tag?; end - sig { returns(T::Boolean) } - def token_conflicts?; end - sig { returns(T::Boolean) } def topological?; end @@ -800,24 +692,12 @@ class Homebrew::CLI::Args sig { returns(T::Boolean) } def upload_only?; end - sig { returns(T.nilable(String)) } - def url; end - - sig { returns(T.nilable(T::Array[String])) } - def user; end - sig { returns(T::Boolean) } def variations?; end sig { returns(T.nilable(String)) } def version; end - sig { returns(T.nilable(String)) } - def version_arm; end - - sig { returns(T.nilable(String)) } - def version_intel; end - sig { returns(T.nilable(String)) } def vst3_plugindir; end @@ -845,12 +725,6 @@ class Homebrew::CLI::Args sig { returns(T.nilable(T::Array[String])) } def workflows; end - sig { returns(T::Boolean) } - def write?; end - - sig { returns(T::Boolean) } - def write_only?; end - sig { returns(T::Boolean) } def zap?; end end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi new file mode 100644 index 0000000000000..16e74567eddfa --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/audit.rbi @@ -0,0 +1,88 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Audit`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Audit`. + +class Homebrew::CLI::Args + sig { returns(T::Boolean) } + def D?; end + + sig { returns(T.nilable(String)) } + def arch; end + + sig { returns(T::Boolean) } + def audit_debug?; end + + sig { returns(T::Boolean) } + def cask?; end + + sig { returns(T::Boolean) } + def casks?; end + + sig { returns(T::Boolean) } + def display_cop_names?; end + + sig { returns(T::Boolean) } + def display_filename?; end + + sig { returns(T::Boolean) } + def eval_all?; end + + sig { returns(T.nilable(T::Array[String])) } + def except; end + + sig { returns(T.nilable(T::Array[String])) } + def except_cops; end + + sig { returns(T::Boolean) } + def fix?; end + + sig { returns(T::Boolean) } + def formula?; end + + sig { returns(T::Boolean) } + def formulae?; end + + sig { returns(T::Boolean) } + def git?; end + + sig { returns(T::Boolean) } + def installed?; end + + sig { returns(T::Boolean) } + def new?; end + + sig { returns(T::Boolean) } + def new_cask?; end + + sig { returns(T::Boolean) } + def new_formula?; end + + sig { returns(T::Boolean) } + def online?; end + + sig { returns(T.nilable(T::Array[String])) } + def only; end + + sig { returns(T.nilable(T::Array[String])) } + def only_cops; end + + sig { returns(T.nilable(String)) } + def os; end + + sig { returns(T.nilable(String)) } + def signing?; end + + sig { returns(T::Boolean) } + def skip_style?; end + + sig { returns(T::Boolean) } + def strict?; end + + sig { returns(T.nilable(String)) } + def tap; end + + sig { returns(T::Boolean) } + def token_conflicts?; end +end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi new file mode 100644 index 0000000000000..045967d4ea48a --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bottle.rbi @@ -0,0 +1,46 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Bottle`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Bottle`. + +class Homebrew::CLI::Args + sig { returns(T.nilable(String)) } + def committer; end + + sig { returns(T::Boolean) } + def force_core_tap?; end + + sig { returns(T::Boolean) } + def json?; end + + sig { returns(T::Boolean) } + def keep_old?; end + + sig { returns(T::Boolean) } + def merge?; end + + sig { returns(T::Boolean) } + def no_all_checks?; end + + sig { returns(T::Boolean) } + def no_commit?; end + + sig { returns(T::Boolean) } + def no_rebuild?; end + + sig { returns(T::Boolean) } + def only_json_tab?; end + + sig { returns(T.nilable(String)) } + def root_url; end + + sig { returns(T.nilable(String)) } + def root_url_using; end + + sig { returns(T::Boolean) } + def skip_relocation?; end + + sig { returns(T::Boolean) } + def write?; end +end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi new file mode 100644 index 0000000000000..dbd7f2470388f --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump.rbi @@ -0,0 +1,49 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Bump`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Bump`. + +class Homebrew::CLI::Args + sig { returns(T::Boolean) } + def cask?; end + + sig { returns(T::Boolean) } + def casks?; end + + sig { returns(T::Boolean) } + def f?; end + + sig { returns(T::Boolean) } + def force?; end + + sig { returns(T::Boolean) } + def formula?; end + + sig { returns(T::Boolean) } + def formulae?; end + + sig { returns(T::Boolean) } + def full_name?; end + + sig { returns(T::Boolean) } + def installed?; end + + sig { returns(T.nilable(String)) } + def limit; end + + sig { returns(T::Boolean) } + def no_fork?; end + + sig { returns(T::Boolean) } + def no_pull_requests?; end + + sig { returns(T::Boolean) } + def open_pr?; end + + sig { returns(T.nilable(String)) } + def start_with; end + + sig { returns(T.nilable(String)) } + def tap; end +end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi new file mode 100644 index 0000000000000..a6e5bc2f25f17 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi @@ -0,0 +1,61 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::BumpCaskPr`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::BumpCaskPr`. + +class Homebrew::CLI::Args + sig { returns(T::Boolean) } + def commit?; end + + sig { returns(T::Boolean) } + def dry_run?; end + + sig { returns(T::Boolean) } + def f?; end + + sig { returns(T::Boolean) } + def force?; end + + sig { returns(T.nilable(String)) } + def fork_org; end + + sig { returns(T.nilable(String)) } + def message; end + + sig { returns(T::Boolean) } + def n?; end + + sig { returns(T::Boolean) } + def no_audit?; end + + sig { returns(T::Boolean) } + def no_browse?; end + + sig { returns(T::Boolean) } + def no_fork?; end + + sig { returns(T::Boolean) } + def no_style?; end + + sig { returns(T::Boolean) } + def online?; end + + sig { returns(T.nilable(String)) } + def sha256; end + + sig { returns(T.nilable(String)) } + def url; end + + sig { returns(T.nilable(String)) } + def version; end + + sig { returns(T.nilable(String)) } + def version_arm; end + + sig { returns(T.nilable(String)) } + def version_intel; end + + sig { returns(T::Boolean) } + def write_only?; end +end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi new file mode 100644 index 0000000000000..9ba7ec160a600 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_formula_pr.rbi @@ -0,0 +1,76 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::BumpFormulaPr`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::BumpFormulaPr`. + +class Homebrew::CLI::Args + sig { returns(T::Boolean) } + def commit?; end + + sig { returns(T::Boolean) } + def dry_run?; end + + sig { returns(T::Boolean) } + def f?; end + + sig { returns(T::Boolean) } + def force?; end + + sig { returns(T.nilable(String)) } + def fork_org; end + + sig { returns(T::Boolean) } + def install_dependencies?; end + + sig { returns(T.nilable(String)) } + def message; end + + sig { returns(T.nilable(T::Array[String])) } + def mirror; end + + sig { returns(T::Boolean) } + def n?; end + + sig { returns(T::Boolean) } + def no_audit?; end + + sig { returns(T::Boolean) } + def no_browse?; end + + sig { returns(T::Boolean) } + def no_fork?; end + + sig { returns(T::Boolean) } + def online?; end + + sig { returns(T.nilable(T::Array[String])) } + def python_exclude_packages; end + + sig { returns(T.nilable(T::Array[String])) } + def python_extra_packages; end + + sig { returns(T.nilable(String)) } + def python_package_name; end + + sig { returns(T.nilable(String)) } + def revision; end + + sig { returns(T.nilable(String)) } + def sha256; end + + sig { returns(T::Boolean) } + def strict?; end + + sig { returns(T.nilable(String)) } + def tag; end + + sig { returns(T.nilable(String)) } + def url; end + + sig { returns(T.nilable(String)) } + def version; end + + sig { returns(T::Boolean) } + def write_only?; end +end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi new file mode 100644 index 0000000000000..175d5c940e4fe --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_revision.rbi @@ -0,0 +1,22 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::BumpRevision`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::BumpRevision`. + +class Homebrew::CLI::Args + sig { returns(T::Boolean) } + def dry_run?; end + + sig { returns(T.nilable(String)) } + def message; end + + sig { returns(T::Boolean) } + def n?; end + + sig { returns(T::Boolean) } + def remove_bottle_block?; end + + sig { returns(T::Boolean) } + def write_only?; end +end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_cask.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_cask.rbi new file mode 100644 index 0000000000000..4f4d0f3d9c1ff --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_unversioned_cask.rbi @@ -0,0 +1,19 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::BumpUnversionedCask`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::BumpUnversionedCask`. + +class Homebrew::CLI::Args + sig { returns(T::Boolean) } + def dry_run?; end + + sig { returns(T.nilable(String)) } + def limit; end + + sig { returns(T::Boolean) } + def n?; end + + sig { returns(T.nilable(String)) } + def state_file; end +end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi new file mode 100644 index 0000000000000..a52441a6f1162 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/cat.rbi @@ -0,0 +1,19 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Cat`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Cat`. + +class Homebrew::CLI::Args + sig { returns(T::Boolean) } + def cask?; end + + sig { returns(T::Boolean) } + def casks?; end + + sig { returns(T::Boolean) } + def formula?; end + + sig { returns(T::Boolean) } + def formulae?; end +end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi new file mode 100644 index 0000000000000..71834973bbca9 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/command.rbi @@ -0,0 +1,7 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Command`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Command`. + +class Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi new file mode 100644 index 0000000000000..9a75800e096b8 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/contributions.rbi @@ -0,0 +1,22 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::DevCmd::Contributions`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::DevCmd::Contributions`. + +class Homebrew::CLI::Args + sig { returns(T::Boolean) } + def csv?; end + + sig { returns(T.nilable(String)) } + def from; end + + sig { returns(T.nilable(T::Array[String])) } + def repositories; end + + sig { returns(T.nilable(String)) } + def to; end + + sig { returns(T.nilable(T::Array[String])) } + def user; end +end