Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd*: Bump to Sorbet typed: true or typed: strict #181950

Merged
merged 3 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmd/aspell-dictionaries.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: strict
# frozen_string_literal: true

require "abstract_command"
Expand All @@ -15,6 +16,7 @@ class AspellDictionariesCmd < AbstractCommand
EOS
end

sig { override.void }
def run
dictionary_url = "https://ftp.gnu.org/gnu/aspell/dict"
dictionary_mirror = "https://ftpmirror.gnu.org/aspell/dict"
Expand Down
1 change: 1 addition & 0 deletions cmd/check-ci-status.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# frozen_string_literal: true

require "abstract_command"
Expand Down
14 changes: 14 additions & 0 deletions cmd/check-ci-status.rbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# typed: strict

class Homebrew::Cmd::CheckCiStatusCmd
sig { returns(Homebrew::Cmd::CheckCiStatusCmd::Args) }
def args; end
end

class Homebrew::Cmd::CheckCiStatusCmd::Args < Homebrew::CLI::Args
sig { returns(T::Boolean) }
def cancel?; end

sig { returns(T::Boolean) }
def long_timeout_label?; end
end
2 changes: 2 additions & 0 deletions cmd/determine-rebottle-runners.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: strict
# frozen_string_literal: true

require "abstract_command"
Expand All @@ -18,6 +19,7 @@ class DetermineRebottleRunnersCmd < AbstractCommand
hide_from_man_page!
end

sig { override.void }
def run
formula = Formula[args.named.first]
timeout = args.named.second.to_i
Expand Down
Loading