Merge pull request #16837 from cho-m/bump-replace-untyped-args

dev-cmd/bump: change `args` type to `CLI::Args`
This commit is contained in:
Michael Cho 2024-03-07 10:08:38 -05:00 committed by GitHub
commit 2d9b352ad7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

View File

@ -207,6 +207,15 @@ module Homebrew
sig { returns(T::Boolean) }
def fail_if_not_changed?; end
sig { returns(T::Boolean) }
def no_pull_requests?; end
sig { returns(T::Boolean) }
def no_fork?; end
sig { returns(T::Boolean) }
def open_pr?; end
sig { returns(T.nilable(String)) }
def limit; end

View File

@ -323,7 +323,7 @@ module Homebrew
params(
formula_or_cask: T.any(Formula, Cask::Cask),
repositories: T::Array[T.untyped],
args: T.untyped,
args: CLI::Args,
name: String,
).returns(VersionBumpInfo)
}
@ -431,7 +431,7 @@ module Homebrew
formula_or_cask: T.any(Formula, Cask::Cask),
name: String,
repositories: T::Array[T.untyped],
args: T.untyped,
args: CLI::Args,
ambiguous_cask: T::Boolean,
).void
}