From a28336c14528619727bcea2f945cb06fbba32356 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 26 Sep 2024 00:24:18 +0000 Subject: [PATCH 1/3] sorbet: Update RBI files. Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. --- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi | 3 --- .../Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/bump_cask_pr.rbi | 3 --- 2 files changed, 6 deletions(-) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi index 7719ce58d7..bc2ba6224b 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi @@ -80,9 +80,6 @@ class Homebrew::Cmd::UpgradeCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def i?; end - sig { returns(T::Boolean) } - def ignore_pinned?; end - sig { returns(T.nilable(String)) } def input_methoddir; 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 index 954b13d7c6..32aa0f75cc 100644 --- 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 @@ -38,9 +38,6 @@ class Homebrew::DevCmd::BumpCaskPr::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def no_style?; end - sig { returns(T::Boolean) } - def online?; end - sig { returns(T.nilable(String)) } def sha256; end From 6208436910e6412c0850d838db8ac9a947615cfd Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 26 Sep 2024 00:24:19 +0000 Subject: [PATCH 2/3] sorbet: Autobump sigils via Spoom Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. --- Library/Homebrew/os/linux.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/os/linux.rb b/Library/Homebrew/os/linux.rb index a70e9e7046..7034ea3bd4 100644 --- a/Library/Homebrew/os/linux.rb +++ b/Library/Homebrew/os/linux.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils" From a7b316ea76c8b860a9d50af0f4913c98dd596ba4 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Wed, 25 Sep 2024 19:38:57 -0700 Subject: [PATCH 3/3] `brew style --fix` Signed-off-by: Patrick Linnane --- Library/Homebrew/os/linux.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/os/linux.rb b/Library/Homebrew/os/linux.rb index 7034ea3bd4..e8f4832843 100644 --- a/Library/Homebrew/os/linux.rb +++ b/Library/Homebrew/os/linux.rb @@ -1,4 +1,4 @@ -# typed: strict # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "utils"