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

sorbet/files.yaml: add new files #7856

Merged
merged 3 commits into from Jun 30, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions Library/Homebrew/sorbet/files.yaml
Expand Up @@ -652,6 +652,7 @@ false:
- ./test/rubocops/components_redundancy_spec.rb
- ./test/rubocops/conflicts_spec.rb
- ./test/rubocops/dependency_order_spec.rb
- ./test/rubocops/deprecate_spec.rb
- ./test/rubocops/formula_desc_spec.rb
- ./test/rubocops/homepage_spec.rb
- ./test/rubocops/lines_spec.rb
Expand Down Expand Up @@ -884,6 +885,7 @@ true:
- ./rubocops/cask/ast/stanza.rb
- ./rubocops/cask/constants/stanza.rb
- ./rubocops/cask/extend/string.rb
- ./rubocops/deprecate.rb
- ./tap_constants.rb
- ./test/support/helper/fixtures.rb
- ./test/support/lib/config.rb
Expand Down
@@ -1,5 +1,5 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# tapioca sync
# tapioca sync --exclude json

# typed: true

Expand Down Expand Up @@ -344,6 +344,28 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
def unless?; end
end

class RuboCop::AST::IndexNode < ::RuboCop::AST::Node
include(::RuboCop::AST::ParameterizedNode)
include(::RuboCop::AST::MethodIdentifierPredicates)
include(::RuboCop::AST::MethodDispatchNode)

def arguments; end
def assignment_method?; end
def attribute_accessor?; end
def method_name; end
end

class RuboCop::AST::IndexasgnNode < ::RuboCop::AST::Node
include(::RuboCop::AST::ParameterizedNode)
include(::RuboCop::AST::MethodIdentifierPredicates)
include(::RuboCop::AST::MethodDispatchNode)

def arguments; end
def assignment_method?; end
def attribute_accessor?; end
def method_name; end
end

class RuboCop::AST::IntNode < ::RuboCop::AST::Node
include(::RuboCop::AST::NumericNode)
end
Expand All @@ -359,6 +381,19 @@ end

RuboCop::AST::KeywordSplatNode::DOUBLE_SPLAT = T.let(T.unsafe(nil), String)

class RuboCop::AST::LambdaNode < ::RuboCop::AST::Node
include(::RuboCop::AST::ParameterizedNode)
include(::RuboCop::AST::MethodIdentifierPredicates)
include(::RuboCop::AST::MethodDispatchNode)

def arguments; end
def assignment_method?; end
def attribute_accessor?; end
def lambda?; end
def lambda_literal?; end
def method_name; end
end

module RuboCop::AST::MethodDispatchNode
include(::RuboCop::AST::MethodIdentifierPredicates)
extend(::RuboCop::AST::NodePattern::Macros)
Expand Down Expand Up @@ -409,19 +444,40 @@ module RuboCop::AST::MethodIdentifierPredicates
def camel_case_method?; end
def comparison_method?; end
def const_receiver?; end
def enumerable_method?; end
def enumerator_method?; end
def method?(name); end
def negation_method?; end
def nonmutating_array_method?; end
def nonmutating_binary_operator_method?; end
def nonmutating_hash_method?; end
def nonmutating_operator_method?; end
def nonmutating_string_method?; end
def nonmutating_unary_operator_method?; end
def operator_method?; end
def predicate_method?; end
def prefix_bang?; end
def prefix_not?; end
def self_receiver?; end
end

RuboCop::AST::MethodIdentifierPredicates::ENUMERATOR_METHODS = T.let(T.unsafe(nil), Array)
RuboCop::AST::MethodIdentifierPredicates::ENUMERABLE_METHODS = T.let(T.unsafe(nil), Set)

RuboCop::AST::MethodIdentifierPredicates::ENUMERATOR_METHODS = T.let(T.unsafe(nil), Set)

RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_ARRAY_METHODS = T.let(T.unsafe(nil), Set)

RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_BINARY_OPERATOR_METHODS = T.let(T.unsafe(nil), Set)

RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_HASH_METHODS = T.let(T.unsafe(nil), Set)

RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_OPERATOR_METHODS = T.let(T.unsafe(nil), Set)

RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_STRING_METHODS = T.let(T.unsafe(nil), Set)

RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_UNARY_OPERATOR_METHODS = T.let(T.unsafe(nil), Set)

RuboCop::AST::MethodIdentifierPredicates::OPERATOR_METHODS = T.let(T.unsafe(nil), Array)
RuboCop::AST::MethodIdentifierPredicates::OPERATOR_METHODS = T.let(T.unsafe(nil), Set)

module RuboCop::AST::ModifierNode
def modifier_form?; end
Expand Down Expand Up @@ -450,6 +506,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
def arg_type?; end
def args_type?; end
def argument?; end
def argument_type?; end
def array_pattern_type?; end
def array_pattern_with_tail_type?; end
def array_type?; end
Expand Down Expand Up @@ -506,9 +563,11 @@ class RuboCop::AST::Node < ::Parser::AST::Node
def erange_type?; end
def false_type?; end
def falsey_literal?; end
def find_pattern_type?; end
def first_line; end
def float_type?; end
def for_type?; end
def forward_arg_type?; end
def forward_args_type?; end
def forwarded_args_type?; end
def guard_clause?; end
Expand Down Expand Up @@ -542,6 +601,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
def last_line; end
def line_count; end
def literal?; end
def loop_keyword?; end
def lvar_type?; end
def lvasgn_type?; end
def masgn_type?; end
Expand Down Expand Up @@ -582,6 +642,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
def parent_module_name; end
def parenthesized_call?; end
def pin_type?; end
def post_condition_loop?; end
def postexe_type?; end
def preexe_type?; end
def proc?(node = _); end
Expand Down Expand Up @@ -654,6 +715,8 @@ class RuboCop::AST::Node < ::Parser::AST::Node
def while_until_value_used?; end
end

RuboCop::AST::Node::ARGUMENT_TYPES = T.let(T.unsafe(nil), Array)

RuboCop::AST::Node::ASSIGNMENTS = T.let(T.unsafe(nil), Array)

RuboCop::AST::Node::BASIC_CONDITIONALS = T.let(T.unsafe(nil), Array)
Expand All @@ -676,10 +739,14 @@ RuboCop::AST::Node::KEYWORDS = T.let(T.unsafe(nil), Array)

RuboCop::AST::Node::LITERALS = T.let(T.unsafe(nil), Array)

RuboCop::AST::Node::LOOP_TYPES = T.let(T.unsafe(nil), Array)

RuboCop::AST::Node::MUTABLE_LITERALS = T.let(T.unsafe(nil), Array)

RuboCop::AST::Node::OPERATOR_KEYWORDS = T.let(T.unsafe(nil), Array)

RuboCop::AST::Node::POST_CONDITION_LOOP_TYPES = T.let(T.unsafe(nil), Array)

RuboCop::AST::Node::REFERENCES = T.let(T.unsafe(nil), Array)

RuboCop::AST::Node::SHORTHAND_ASSIGNMENTS = T.let(T.unsafe(nil), Array)
Expand All @@ -697,7 +764,7 @@ class RuboCop::AST::NodePattern
def eql?(other); end
def marshal_dump; end
def marshal_load(pattern); end
def match(*args); end
def match(*args, **rest); end
def pattern; end
def to_s; end

Expand All @@ -708,12 +775,8 @@ class RuboCop::AST::NodePattern::Invalid < ::StandardError
end

module RuboCop::AST::NodePattern::Macros
def def_node_matcher(method_name, pattern_str); end
def def_node_search(method_name, pattern_str); end
def node_search(method_name, compiler, on_match, prelude, called_from); end
def node_search_all(method_name, compiler, called_from); end
def node_search_body(method_name, trailing_params, prelude, match_code, on_match); end
def node_search_first(method_name, compiler, called_from); end
def def_node_matcher(method_name, pattern_str, **keyword_defaults); end
def def_node_search(method_name, pattern_str, **keyword_defaults); end
end

module RuboCop::AST::NumericNode
Expand Down Expand Up @@ -825,8 +888,22 @@ end

class RuboCop::AST::RegexpNode < ::RuboCop::AST::Node
def content; end
def delimiter?(char); end
def delimiters; end
def extended?; end
def ignore_case?; end
def interpolation?; end
def multiline_mode?; end
def no_encoding?; end
def percent_r_literal?; end
def regopt; end
def single_interpolation?; end
def slash_literal?; end
def to_regexp; end

private

def regopt_include?(option); end
end

RuboCop::AST::RegexpNode::OPTIONS = T.let(T.unsafe(nil), Hash)
Expand Down Expand Up @@ -920,6 +997,7 @@ class RuboCop::AST::Token
end

module RuboCop::AST::Traversal
def on___ENCODING__(node); end
def on_alias(node); end
def on_and(node); end
def on_and_asgn(node); end
Expand Down Expand Up @@ -958,6 +1036,7 @@ module RuboCop::AST::Traversal
def on_false(node); end
def on_float(node); end
def on_for(node); end
def on_forward_arg(node); end
def on_forward_args(node); end
def on_forwarded_args(node); end
def on_gvar(node); end
Expand All @@ -969,6 +1048,8 @@ module RuboCop::AST::Traversal
def on_iflipflop(node); end
def on_in_match(node); end
def on_in_pattern(node); end
def on_index(node); end
def on_indexasgn(node); end
def on_int(node); end
def on_irange(node); end
def on_ivar(node); end
Expand Down Expand Up @@ -1005,6 +1086,7 @@ module RuboCop::AST::Traversal
def on_pin(node); end
def on_postexe(node); end
def on_preexe(node); end
def on_procarg0(node); end
def on_rational(node); end
def on_redo(node); end
def on_regexp(node); end
Expand Down Expand Up @@ -1095,6 +1177,8 @@ RuboCop::AST::NodePattern::Compiler::CAPTURED_REST = T.let(T.unsafe(nil), String

RuboCop::AST::NodePattern::Compiler::CLOSING = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::CONST = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::CUR_ELEMENT = T.let(T.unsafe(nil), String)

RuboCop::AST::NodePattern::Compiler::CUR_NODE = T.let(T.unsafe(nil), String)
Expand All @@ -1105,6 +1189,10 @@ RuboCop::AST::NodePattern::Compiler::FUNCALL = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::IDENTIFIER = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::KEYWORD = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::KEYWORD_NAME = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::LITERAL = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::META = T.let(T.unsafe(nil), Regexp)
Expand All @@ -1117,6 +1205,8 @@ RuboCop::AST::NodePattern::Compiler::NUMBER = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::PARAM = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::PARAM_CONST = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::PARAM_NUMBER = T.let(T.unsafe(nil), Regexp)

RuboCop::AST::NodePattern::Compiler::PREDICATE = T.let(T.unsafe(nil), Regexp)
Expand Down
@@ -1,5 +1,5 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# tapioca sync
# tapioca sync --exclude json

# typed: true

Expand Down
8 changes: 4 additions & 4 deletions Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi
Expand Up @@ -19429,10 +19429,6 @@ class RuboCop::AST::Node

def cask_block?(node=T.unsafe(nil)); end

def find_pattern_type?(); end

def forward_arg_type?(); end

def key_node(node=T.unsafe(nil)); end

def method_node(node=T.unsafe(nil)); end
Expand Down Expand Up @@ -19604,6 +19600,10 @@ class RuboCop::Cop::FormulaAudit::Miscellaneous
def languageNodeModule?(node0); end
end

class RuboCop::Cop::FormulaAudit::Patches
def patch_data?(node0); end
end

class RuboCop::Cop::FormulaAudit::Test
def test_calls(node0); end
end
Expand Down