sorbet: solve typecheck errors. 23 => 15 errors
This commit is contained in:
parent
7409bae0b8
commit
c7ce119633
@ -17,5 +17,21 @@ module Homebrew::CLI
|
|||||||
def named_args; end
|
def named_args; end
|
||||||
|
|
||||||
def force_bottle?; end
|
def force_bottle?; end
|
||||||
|
|
||||||
|
def debug?; end
|
||||||
|
|
||||||
|
def quiet?; end
|
||||||
|
|
||||||
|
def verbose?; end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
class Parser
|
||||||
|
module Compat
|
||||||
|
include Kernel
|
||||||
|
module DeprecatedArgs
|
||||||
|
include Kernel
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -20,6 +20,16 @@ module Dependable
|
|||||||
def tags; end
|
def tags; end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
module DependenciesHelpers
|
||||||
|
include Kernel
|
||||||
|
|
||||||
|
module Compat
|
||||||
|
include Kernel
|
||||||
|
|
||||||
|
def args_includes_ignores(args); end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Formula
|
class Formula
|
||||||
module Compat
|
module Compat
|
||||||
include Kernel
|
include Kernel
|
||||||
|
|||||||
11
Library/Homebrew/sorbet/rbi/utils/spdx.rbi
Normal file
11
Library/Homebrew/sorbet/rbi/utils/spdx.rbi
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# typed: strict
|
||||||
|
|
||||||
|
module SPDX
|
||||||
|
include Kernel
|
||||||
|
|
||||||
|
def spdx_data; end
|
||||||
|
|
||||||
|
def download_latest_license_data!(to: JSON_PATH); end
|
||||||
|
|
||||||
|
def curl_download(*args, to: nil, partial: true, **options); end
|
||||||
|
end
|
||||||
Loading…
x
Reference in New Issue
Block a user