Tighten up the types
This commit is contained in:
parent
aab04229d1
commit
439c8c1819
@ -5,6 +5,13 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Cask::Variables`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Cask::Variables`.
|
||||||
|
|
||||||
class RuboCop::Cop::Cask::Variables
|
class RuboCop::Cop::Cask::Variables
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def variable_assignment(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def variable_assignment(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::ComponentsOrder
|
class RuboCop::Cop::FormulaAudit::ComponentsOrder
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def depends_on_node?(*node, **kwargs, &block); end
|
def depends_on_node?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,30 +5,79 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::DependencyOrder`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::DependencyOrder`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::DependencyOrder
|
class RuboCop::Cop::FormulaAudit::DependencyOrder
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def build_with_dependency_node(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def build_with_dependency_node(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def buildtime_dependency?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def buildtime_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def dependency_name_node(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def dependency_name_node(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def depends_on_node?(*node, **kwargs, &block); end
|
def depends_on_node?(node, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def negate_normal_dependency?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def negate_normal_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def optional_dependency?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def optional_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def recommended_dependency?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def recommended_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def test_dependency?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def test_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def uses_from_macos_node?(*node, **kwargs, &block); end
|
def uses_from_macos_node?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,6 +5,13 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::DeprecateDisableDate`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::DeprecateDisableDate`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::DeprecateDisableDate
|
class RuboCop::Cop::FormulaAudit::DeprecateDisableDate
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def date(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def date(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,6 +5,13 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::DeprecateDisableReason`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::DeprecateDisableReason`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::DeprecateDisableReason
|
class RuboCop::Cop::FormulaAudit::DeprecateDisableReason
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def reason(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def reason(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,9 +5,23 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::GenerateCompletionsDSL`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::GenerateCompletionsDSL`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::GenerateCompletionsDSL
|
class RuboCop::Cop::FormulaAudit::GenerateCompletionsDSL
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def correctable_shell_completion_node(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def correctable_shell_completion_node(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def shell_completion_node(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def shell_completion_node(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::GitUrls
|
class RuboCop::Cop::FormulaAudit::GitUrls
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def url_has_revision?(*node, **kwargs, &block); end
|
def url_has_revision?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::Licenses
|
class RuboCop::Cop::FormulaAudit::Licenses
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def license_exception?(*node, **kwargs, &block); end
|
def license_exception?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,18 +5,39 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Miscellaneous`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Miscellaneous`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::Miscellaneous
|
class RuboCop::Cop::FormulaAudit::Miscellaneous
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def conditional_dependencies(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def conditional_dependencies(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def destructure_hash(*node, **kwargs, &block); end
|
def destructure_hash(node, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def formula_path_strings(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def formula_path_strings(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def hash_dep(*node, **kwargs, &block); end
|
def hash_dep(node, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def languageNodeModule?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def languageNodeModule?(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,6 +5,13 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::OptionDeclarations`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::OptionDeclarations`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::OptionDeclarations
|
class RuboCop::Cop::FormulaAudit::OptionDeclarations
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def depends_on_build_with(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def depends_on_build_with(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,6 +5,13 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Patches`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Patches`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::Patches
|
class RuboCop::Cop::FormulaAudit::Patches
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def patch_data?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def patch_data?(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,6 +5,13 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Test`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Test`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::Test
|
class RuboCop::Cop::FormulaAudit::Test
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def test_calls(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def test_calls(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,6 +5,13 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Text`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Text`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::Text
|
class RuboCop::Cop::FormulaAudit::Text
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def prefix_path(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def prefix_path(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::FormulaAuditStrict::GitUrls
|
class RuboCop::Cop::FormulaAuditStrict::GitUrls
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def url_has_tag?(*node, **kwargs, &block); end
|
def url_has_tag?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,9 +5,23 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAuditStrict::Text`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAuditStrict::Text`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAuditStrict::Text
|
class RuboCop::Cop::FormulaAuditStrict::Text
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def interpolated_share_path_starts_with(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def interpolated_share_path_starts_with(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def share_path_starts_with(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def share_path_starts_with(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,15 +5,43 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaCop`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaCop`.
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaCop
|
class RuboCop::Cop::FormulaCop
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def dependency_name_hash_match?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def dependency_name_hash_match?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def dependency_type_hash_match?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def dependency_type_hash_match?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def required_dependency?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def required_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T::Boolean) }
|
sig do
|
||||||
def required_dependency_name?(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def required_dependency_name?(node, *pattern, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::Homebrew::Blank
|
class RuboCop::Cop::Homebrew::Blank
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def nil_or_empty?(*node, **kwargs, &block); end
|
def nil_or_empty?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::Homebrew::CompactBlank
|
class RuboCop::Cop::Homebrew::CompactBlank
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def reject_with_block?(*node, **kwargs, &block); end
|
def reject_with_block?(node, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def reject_with_block_pass?(*node, **kwargs, &block); end
|
def reject_with_block_pass?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::Homebrew::MoveToExtendOS
|
class RuboCop::Cop::Homebrew::MoveToExtendOS
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def os_check?(*node, **kwargs, &block); end
|
def os_check?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::Homebrew::NegateInclude
|
class RuboCop::Cop::Homebrew::NegateInclude
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def negate_include_call?(*node, **kwargs, &block); end
|
def negate_include_call?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::Homebrew::Presence
|
class RuboCop::Cop::Homebrew::Presence
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def redundant_negative_receiver_and_other(*node, **kwargs, &block); end
|
def redundant_negative_receiver_and_other(node, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def redundant_receiver_and_other(*node, **kwargs, &block); end
|
def redundant_receiver_and_other(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::Homebrew::Present
|
class RuboCop::Cop::Homebrew::Present
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def exists_and_not_empty?(*node, **kwargs, &block); end
|
def exists_and_not_empty?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
class RuboCop::Cop::Homebrew::SafeNavigationWithBlank
|
class RuboCop::Cop::Homebrew::SafeNavigationWithBlank
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def safe_navigation_blank_in_conditional?(*node, **kwargs, &block); end
|
def safe_navigation_blank_in_conditional?(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
@ -5,24 +5,59 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::OnSystemConditionalsHelper`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::OnSystemConditionalsHelper`.
|
||||||
|
|
||||||
module RuboCop::Cop::OnSystemConditionalsHelper
|
module RuboCop::Cop::OnSystemConditionalsHelper
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def hardware_cpu_search(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def hardware_cpu_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def if_arch_node_search(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def if_arch_node_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def if_base_os_node_search(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def if_base_os_node_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def if_macos_version_node_search(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def if_macos_version_node_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig do
|
||||||
def macos_version_comparison_search(*node, &block); end
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def macos_version_comparison_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def on_macos_version_method_call(*node, **kwargs, &block); end
|
def on_macos_version_method_call(node, **kwargs, &block); end
|
||||||
|
|
||||||
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
def on_system_method_call(*node, **kwargs, &block); end
|
def on_system_method_call(node, **kwargs, &block); end
|
||||||
end
|
end
|
||||||
|
16
Library/Homebrew/sorbet/rbi/gems/parlour@8.1.0.rbi
generated
16
Library/Homebrew/sorbet/rbi/gems/parlour@8.1.0.rbi
generated
@ -913,7 +913,7 @@ class Parlour::RbiGenerator::Namespace < ::Parlour::RbiGenerator::RbiObject
|
|||||||
# @param block [T.proc.params(x: Attribute).void, nil]
|
# @param block [T.proc.params(x: Attribute).void, nil]
|
||||||
# @return [Attribute]
|
# @return [Attribute]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def create_attr(*args, **_arg1, &blk); end
|
def create_attr(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://parlour//lib/parlour/rbi_generator/namespace.rb#472
|
# source://parlour//lib/parlour/rbi_generator/namespace.rb#472
|
||||||
@ -1121,7 +1121,7 @@ class Parlour::RbiGenerator::Namespace < ::Parlour::RbiGenerator::RbiObject
|
|||||||
|
|
||||||
# @return [Array<RbiGenerator::TypeAlias>]
|
# @return [Array<RbiGenerator::TypeAlias>]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def type_aliases(*args, **_arg1, &blk); end
|
def type_aliases(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -1885,7 +1885,7 @@ class Parlour::RbsGenerator::Namespace < ::Parlour::RbsGenerator::RbsObject
|
|||||||
# @param block [T.proc.params(x: Attribute).void, nil]
|
# @param block [T.proc.params(x: Attribute).void, nil]
|
||||||
# @return [Attribute]
|
# @return [Attribute]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def create_attr(*args, **_arg1, &blk); end
|
def create_attr(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://parlour//lib/parlour/rbs_generator/namespace.rb#347
|
# source://parlour//lib/parlour/rbs_generator/namespace.rb#347
|
||||||
@ -2052,7 +2052,7 @@ class Parlour::RbsGenerator::Namespace < ::Parlour::RbsGenerator::RbsObject
|
|||||||
|
|
||||||
# @return [Array<RbsGenerator::TypeAlias>]
|
# @return [Array<RbsGenerator::TypeAlias>]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def type_aliases(*args, **_arg1, &blk); end
|
def type_aliases(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -2395,7 +2395,7 @@ class Parlour::TypeParser::IntermediateSig < ::T::Struct
|
|||||||
prop :params, T.nilable(T::Array[::Parser::AST::Node])
|
prop :params, T.nilable(T::Array[::Parser::AST::Node])
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2450,7 +2450,7 @@ class Parlour::TypedObject
|
|||||||
# @param comment [String, Array<String>]
|
# @param comment [String, Array<String>]
|
||||||
# @return [void]
|
# @return [void]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def add_comments(*args, **_arg1, &blk); end
|
def add_comments(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://parlour//lib/parlour/typed_object.rb#32
|
# source://parlour//lib/parlour/typed_object.rb#32
|
||||||
@ -2471,7 +2471,7 @@ class Parlour::TypedObject
|
|||||||
|
|
||||||
# @return [String]
|
# @return [String]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def inspect(*args, **_arg1, &blk); end
|
def inspect(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://parlour//lib/parlour/typed_object.rb#26
|
# source://parlour//lib/parlour/typed_object.rb#26
|
||||||
@ -2480,7 +2480,7 @@ class Parlour::TypedObject
|
|||||||
|
|
||||||
# @return [String]
|
# @return [String]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def to_s(*args, **_arg1, &blk); end
|
def to_s(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
4
Library/Homebrew/sorbet/rbi/gems/rbi@0.1.8.rbi
generated
4
Library/Homebrew/sorbet/rbi/gems/rbi@0.1.8.rbi
generated
@ -1820,7 +1820,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct
|
|||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2037,7 +2037,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct
|
|||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -90,7 +90,7 @@ module RSpec::Sorbet::Doubles
|
|||||||
|
|
||||||
# @return [void]
|
# @return [void]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def allow_instance_doubles!(*args, **_arg1, &blk); end
|
def allow_instance_doubles!(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#36
|
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#36
|
||||||
|
30
Library/Homebrew/sorbet/rbi/gems/spoom@1.2.4.rbi
generated
30
Library/Homebrew/sorbet/rbi/gems/spoom@1.2.4.rbi
generated
@ -958,7 +958,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct
|
|||||||
prop :strong, ::String
|
prop :strong, ::String
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1298,7 +1298,7 @@ class Spoom::Coverage::Snapshot < ::T::Struct
|
|||||||
sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) }
|
sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) }
|
||||||
def from_obj(obj); end
|
def from_obj(obj); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1450,7 +1450,7 @@ class Spoom::Deadcode::Definition < ::T::Struct
|
|||||||
def module?; end
|
def module?; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2343,7 +2343,7 @@ class Spoom::Deadcode::Reference < ::T::Struct
|
|||||||
def method?; end
|
def method?; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2593,7 +2593,7 @@ class Spoom::Deadcode::Send < ::T::Struct
|
|||||||
def each_arg_assoc(&block); end
|
def each_arg_assoc(&block); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2613,7 +2613,7 @@ class Spoom::ExecResult < ::T::Struct
|
|||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2821,7 +2821,7 @@ class Spoom::FileTree::Node < ::T::Struct
|
|||||||
def path; end
|
def path; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2887,7 +2887,7 @@ class Spoom::Git::Commit < ::T::Struct
|
|||||||
def timestamp; end
|
def timestamp; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
|
|
||||||
# Parse a line formated as `%h %at` into a `Commit`
|
# Parse a line formated as `%h %at` into a `Commit`
|
||||||
@ -2999,7 +2999,7 @@ class Spoom::LSP::Diagnostic < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3032,7 +3032,7 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3090,7 +3090,7 @@ class Spoom::LSP::Hover < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3115,7 +3115,7 @@ class Spoom::LSP::Location < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3178,7 +3178,7 @@ class Spoom::LSP::Position < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3216,7 +3216,7 @@ class Spoom::LSP::Range < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3282,7 +3282,7 @@ class Spoom::LSP::SignatureHelp < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
10
Library/Homebrew/sorbet/rbi/gems/tapioca@0.12.0.rbi
generated
10
Library/Homebrew/sorbet/rbi/gems/tapioca@0.12.0.rbi
generated
@ -204,7 +204,7 @@ class RBI::TypedParam < ::T::Struct
|
|||||||
const :type, ::String
|
const :type, ::String
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1121,7 +1121,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
|
|||||||
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1132,7 +1132,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
|
|||||||
const :colors, T::Array[::Symbol]
|
const :colors, T::Array[::Symbol]
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2432,7 +2432,7 @@ class Tapioca::Loaders::Loader
|
|||||||
# @param engine [T.class_of(Rails::Engine)]
|
# @param engine [T.class_of(Rails::Engine)]
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def eager_load_paths(*args, **_arg1, &blk); end
|
def eager_load_paths(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://tapioca//lib/tapioca/loaders/loader.rb#198
|
# source://tapioca//lib/tapioca/loaders/loader.rb#198
|
||||||
@ -3340,7 +3340,7 @@ module Tapioca::Static::SymbolLoader
|
|||||||
|
|
||||||
# @return [Array<T.class_of(Rails::Engine)>]
|
# @return [Array<T.class_of(Rails::Engine)>]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def engines(*args, **_arg1, &blk); end
|
def engines(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://tapioca//lib/tapioca/static/symbol_loader.rb#82
|
# source://tapioca//lib/tapioca/static/symbol_loader.rb#82
|
||||||
|
@ -381,7 +381,7 @@ class YARDSorbet::TStructProp < ::T::Struct
|
|||||||
const :types, T::Array[::String]
|
const :types, T::Array[::String]
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11237/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -46,7 +46,7 @@ module Tapioca
|
|||||||
klass.create_method(
|
klass.create_method(
|
||||||
method_name.to_s,
|
method_name.to_s,
|
||||||
parameters: [
|
parameters: [
|
||||||
create_rest_param("node", type: "RuboCop::AST::Node"),
|
create_param("node", type: "RuboCop::AST::Node"),
|
||||||
create_kw_rest_param("kwargs", type: "T.untyped"),
|
create_kw_rest_param("kwargs", type: "T.untyped"),
|
||||||
create_block_param("block", type: "T.untyped"),
|
create_block_param("block", type: "T.untyped"),
|
||||||
],
|
],
|
||||||
@ -56,7 +56,9 @@ module Tapioca
|
|||||||
klass.create_method(
|
klass.create_method(
|
||||||
method_name.to_s,
|
method_name.to_s,
|
||||||
parameters: [
|
parameters: [
|
||||||
create_rest_param("node", type: "T.untyped"),
|
create_param("node", type: "RuboCop::AST::Node"),
|
||||||
|
create_rest_param("pattern", type: "T.any(String, Symbol)"),
|
||||||
|
create_kw_rest_param("kwargs", type: "T.untyped"),
|
||||||
create_block_param("block", type: "T.untyped"),
|
create_block_param("block", type: "T.untyped"),
|
||||||
],
|
],
|
||||||
return_type: method_name.to_s.end_with?("?") ? "T::Boolean" : "T.untyped",
|
return_type: method_name.to_s.end_with?("?") ? "T::Boolean" : "T.untyped",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user