1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/.rubocop_todo.yml

785 lines
20 KiB
YAML
Raw Normal View History

# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-02-24 19:58:43 +0200 using RuboCop version 0.65.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'pry.gemspec'
# Offense count: 3
Lint/Debugger:
Exclude:
- 'spec/commands/play_spec.rb'
- 'spec/pry_spec.rb'
# Offense count: 2
Lint/EmptyWhen:
Exclude:
- 'lib/pry/input_completer.rb'
# Offense count: 6
Lint/HandleExceptions:
Exclude:
- 'lib/pry/command.rb'
- 'lib/pry/commands/find_method.rb'
- 'lib/pry/commands/gist.rb'
- 'lib/pry/pager.rb'
- 'lib/pry/terminal.rb'
# Offense count: 16
Lint/InterpolationCheck:
Exclude:
- 'spec/command_integration_spec.rb'
- 'spec/command_set_spec.rb'
- 'spec/command_spec.rb'
- 'spec/commands/amend_line_spec.rb'
- 'spec/commands/edit_spec.rb'
- 'spec/pry_spec.rb'
# Offense count: 1
Lint/Loop:
Exclude:
- 'lib/pry/object_path.rb'
# Offense count: 1
Lint/RescueException:
Exclude:
- 'lib/pry/color_printer.rb'
# Offense count: 1
Lint/ReturnInVoidContext:
Exclude:
- 'lib/pry/command_set.rb'
# Offense count: 1
Lint/ShadowedException:
Exclude:
- 'lib/pry/method.rb'
# Offense count: 33
Lint/UnderscorePrefixedVariableName:
Enabled: false
# Offense count: 1
Lint/UselessAssignment:
Exclude:
- 'lib/pry/pry_instance.rb'
# Offense count: 1
# Configuration parameters: CheckForMethodsWithNoSideEffects.
Lint/Void:
Exclude:
- 'lib/pry/helpers/table.rb'
# Offense count: 103
Metrics/AbcSize:
Max: 48
# Offense count: 178
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 731
# Offense count: 1
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 4
# Offense count: 19
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 333
# Offense count: 31
Metrics/CyclomaticComplexity:
Max: 32
# Offense count: 116
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 132
# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 6
# Offense count: 28
Metrics/PerceivedComplexity:
Max: 25
# Offense count: 1
Naming/AccessorMethodName:
Exclude:
- 'lib/pry/method/weird_method_locator.rb'
# Offense count: 1
Naming/BinaryOperatorParameterName:
Exclude:
- 'lib/pry/method.rb'
# Offense count: 6
Naming/ConstantName:
Exclude:
- 'lib/pry/input_completer.rb'
- 'spec/completion_spec.rb'
# Offense count: 2
# Configuration parameters: EnforcedStyle.
# SupportedStyles: lowercase, uppercase
Naming/HeredocDelimiterCase:
Exclude:
- 'spec/helpers/table_spec.rb'
# Offense count: 16
# Configuration parameters: Blacklist.
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
Naming/HeredocDelimiterNaming:
Exclude:
- 'lib/pry/commands/easter_eggs.rb'
- 'lib/pry/commands/stat.rb'
- 'lib/pry/core_extensions.rb'
- 'lib/pry/pry_class.rb'
- 'spec/command_spec.rb'
- 'spec/commands/cat_spec.rb'
- 'spec/commands/edit_spec.rb'
- 'spec/commands/show_source_spec.rb'
- 'spec/commands/whereami_spec.rb'
- 'spec/helpers/table_spec.rb'
- 'spec/pry_repl_spec.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
Exclude:
- 'lib/pry/wrapped_module/candidate.rb'
# Offense count: 26
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db
Naming/UncommunicativeMethodParamName:
Enabled: false
# Offense count: 10
Security/Eval:
Exclude:
- 'Rakefile'
- 'lib/pry/cli.rb'
- 'lib/pry/commands/show_info.rb'
- 'lib/pry/input_completer.rb'
- 'spec/indent_spec.rb'
- 'spec/wrapped_module_spec.rb'
2018-11-04 04:42:51 -05:00
# Offense count: 11
# Configuration parameters: EnforcedStyle.
# SupportedStyles: inline, group
Style/AccessModifierDeclarations:
Exclude:
- 'lib/pry/command.rb'
- 'lib/pry/forwardable.rb'
- 'lib/pry/helpers/base_helpers.rb'
- 'lib/pry/pry_instance.rb'
- 'spec/editor_spec.rb'
- 'spec/helper.rb'
- 'spec/method/patcher_spec.rb'
# Offense count: 2
# Configuration parameters: AllowedChars.
Style/AsciiComments:
Exclude:
- 'lib/pry/pry_instance.rb'
- 'lib/pry/terminal.rb'
# Offense count: 39
Style/CaseEquality:
Enabled: false
# Offense count: 1
Style/ClassVars:
Exclude:
- 'lib/pry/method/patcher.rb'
# Offense count: 27
Style/CommentedKeyword:
Exclude:
- 'spec/fixtures/example_nesting.rb'
# Offense count: 154
Style/Documentation:
Enabled: false
# Offense count: 11
Style/DoubleNegation:
Exclude:
- 'lib/pry/code.rb'
- 'lib/pry/command_set.rb'
- 'lib/pry/commands/gist.rb'
- 'lib/pry/commands/whereami.rb'
- 'lib/pry/method.rb'
- 'lib/pry/method/weird_method_locator.rb'
- 'lib/pry/pager.rb'
- 'lib/pry/slop/option.rb'
- 'lib/pry/wrapped_module.rb'
# Offense count: 27
Style/EvalWithLocation:
Exclude:
- 'lib/pry/core_extensions.rb'
- 'lib/pry/input_completer.rb'
- 'spec/commands/edit_spec.rb'
- 'spec/commands/watch_expression_spec.rb'
- 'spec/method_spec.rb'
2018-11-04 04:42:51 -05:00
# Offense count: 9
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
Exclude:
- 'lib/pry/commands/gem_stats.rb'
- 'lib/pry/commands/ls/local_vars.rb'
- 'lib/pry/config/behavior.rb'
- 'lib/pry/pry_class.rb'
# Offense count: 2
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude:
- 'spec/commands/edit_spec.rb'
# Offense count: 37
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false
# Offense count: 2
Style/IdenticalConditionalBranches:
Exclude:
- 'lib/pry/slop/commands.rb'
# Offense count: 5
Style/IfInsideElse:
Exclude:
- 'lib/pry/commands/edit.rb'
- 'lib/pry/pry_class.rb'
- 'lib/pry/repl.rb'
- 'lib/pry/slop/commands.rb'
- 'lib/pry/slop/option.rb'
2018-11-04 04:42:51 -05:00
# Offense count: 79
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Enabled: false
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: InverseMethods, InverseBlocks.
Style/InverseMethods:
Exclude:
- 'lib/pry/command.rb'
- 'lib/pry/commands/hist.rb'
- 'lib/pry/commands/ls/jruby_hacks.rb'
- 'lib/pry/commands/ls/ls_entity.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: line_count_dependent, lambda, literal
Style/Lambda:
Exclude:
- 'lib/pry/commands/ls/methods.rb'
- 'spec/pry_spec.rb'
# Offense count: 5
# Cop supports --auto-correct.
Style/LineEndConcatenation:
Exclude:
- 'lib/pry/commands/show_info.rb'
- 'lib/pry/slop/option.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
Style/MethodCallWithoutArgsParentheses:
Exclude:
- 'lib/pry/helpers/command_helpers.rb'
2018-11-04 04:42:51 -05:00
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
Style/MethodDefParentheses:
Exclude:
- 'lib/pry/helpers/table.rb'
- 'lib/pry/terminal.rb'
# Offense count: 7
Style/MethodMissingSuper:
Exclude:
- 'lib/pry/code.rb'
- 'lib/pry/config/behavior.rb'
- 'lib/pry/method.rb'
- 'lib/pry/method/disowned.rb'
- 'lib/pry/output.rb'
- 'lib/pry/plugins.rb'
- 'lib/pry/wrapped_module.rb'
# Offense count: 4
Style/MissingRespondToMissing:
Exclude:
- 'lib/pry/method.rb'
- 'lib/pry/method/disowned.rb'
- 'lib/pry/plugins.rb'
- 'lib/pry/wrapped_module.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, Autocorrect.
# SupportedStyles: module_function, extend_self
Style/ModuleFunction:
Exclude:
- 'lib/pry/helpers/base_helpers.rb'
- 'lib/pry/helpers/text.rb'
- 'lib/pry/testable.rb'
# Offense count: 8
Style/MultilineBlockChain:
Exclude:
- 'lib/pry/command_set.rb'
- 'lib/pry/commands/ls/local_vars.rb'
- 'spec/cli_spec.rb'
# Offense count: 2
Style/MultipleComparison:
Exclude:
- 'lib/pry/indent.rb'
# Offense count: 48
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: literals, strict
Style/MutableConstant:
Enabled: false
2018-11-04 04:42:51 -05:00
# Offense count: 23
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: both, prefix, postfix
Style/NegatedIf:
Enabled: false
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: Whitelist.
# Whitelist: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
Style/NestedParenthesizedCalls:
Exclude:
- 'lib/pry/helpers/table.rb'
- 'spec/code_spec.rb'
- 'spec/commands/jump_to_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength.
# SupportedStyles: skip_modifier_ifs, always
Style/Next:
Exclude:
- 'lib/pry/commands/gist.rb'
- 'lib/pry/pager.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: predicate, comparison
Style/NilComparison:
Exclude:
- 'lib/pry/core_extensions.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IncludeSemanticChanges.
Style/NonNilCheck:
Exclude:
- 'lib/pry/helpers/base_helpers.rb'
# Offense count: 4
# Cop supports --auto-correct.
Style/Not:
Exclude:
- 'lib/pry/method/weird_method_locator.rb'
- 'lib/pry/pry_class.rb'
- 'lib/pry/testable.rb'
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedOctalStyle.
# SupportedOctalStyles: zero_with_o, zero_only
Style/NumericLiteralPrefix:
Exclude:
- 'lib/pry/history.rb'
- 'spec/history_spec.rb'
- 'spec/pryrc_spec.rb'
# Offense count: 24
# Cop supports --auto-correct.
Style/ParallelAssignment:
Exclude:
- 'lib/pry/command_set.rb'
- 'lib/pry/hooks.rb'
- 'lib/pry/indent.rb'
- 'lib/pry/method.rb'
- 'lib/pry/method/disowned.rb'
- 'lib/pry/method/weird_method_locator.rb'
- 'lib/pry/pager.rb'
- 'lib/pry/plugins.rb'
- 'lib/pry/slop.rb'
- 'spec/commands/cd_spec.rb'
- 'spec/commands/whereami_spec.rb'
- 'spec/pry_defaults_spec.rb'
2018-11-04 04:42:51 -05:00
# Offense count: 57
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Exclude:
- 'lib/pry/code/code_file.rb'
- 'lib/pry/commands/easter_eggs.rb'
- 'lib/pry/commands/help.rb'
- 'lib/pry/commands/ls/globals.rb'
- 'lib/pry/indent.rb'
- 'lib/pry/method.rb'
- 'lib/pry/pry_class.rb'
- 'spec/command_spec.rb'
- 'spec/commands/edit_spec.rb'
- 'spec/commands/show_source_spec.rb'
- 'spec/helpers/table_spec.rb'
- 'spec/history_spec.rb'
- 'spec/pry_spec.rb'
- 'spec/syntax_checking_spec.rb'
- 'spec/wrapped_module_spec.rb'
# Offense count: 10
# Cop supports --auto-correct.
Style/PerlBackrefs:
Exclude:
- 'lib/pry/input_completer.rb'
- 'lib/pry/last_exception.rb'
- 'lib/pry/method.rb'
- 'lib/pry/rubygem.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: compact, exploded
Style/RaiseArgs:
Exclude:
- 'lib/pry/method.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantException:
Exclude:
- 'lib/pry/repl_file_loader.rb'
# Offense count: 8
# Cop supports --auto-correct.
Style/RedundantParentheses:
Exclude:
- 'lib/pry/command.rb'
- 'lib/pry/commands/ls/jruby_hacks.rb'
- 'lib/pry/commands/ls/local_vars.rb'
- 'lib/pry/indent.rb'
- 'spec/command_integration_spec.rb'
- 'spec/commands/edit_spec.rb'
- 'spec/fixtures/example_nesting.rb'
- 'spec/method_spec.rb'
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
Exclude:
- 'lib/pry/commands/shell_command.rb'
- 'lib/pry/indent.rb'
- 'lib/pry/input_completer.rb'
- 'lib/pry/pry_instance.rb'
- 'spec/completion_spec.rb'
# Offense count: 11
# Cop supports --auto-correct.
Style/RedundantSelf:
Exclude:
- 'lib/pry/command.rb'
- 'lib/pry/commands/hist.rb'
- 'lib/pry/core_extensions.rb'
- 'lib/pry/helpers/text.rb'
- 'lib/pry/hooks.rb'
- 'lib/pry/method.rb'
- 'lib/pry/rubygem.rb'
# Offense count: 28
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'lib/pry/cli.rb'
- 'lib/pry/command.rb'
- 'lib/pry/commands/cat/file_formatter.rb'
- 'lib/pry/commands/easter_eggs.rb'
- 'lib/pry/commands/edit.rb'
- 'lib/pry/helpers/documentation_helpers.rb'
- 'lib/pry/indent.rb'
- 'lib/pry/input_completer.rb'
- 'lib/pry/object_path.rb'
- 'lib/pry/rubygem.rb'
- 'spec/pry_spec.rb'
- 'spec/sticky_locals_spec.rb'
2018-11-04 04:42:51 -05:00
# Offense count: 12
# Cop supports --auto-correct.
Style/RescueModifier:
Exclude:
- 'Rakefile'
- 'lib/pry/code_object.rb'
- 'lib/pry/color_printer.rb'
- 'lib/pry/commands/ls/constants.rb'
- 'lib/pry/input_completer.rb'
- 'lib/pry/method.rb'
- 'lib/pry/method/patcher.rb'
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
Exclude:
- 'lib/pry/color_printer.rb'
- 'lib/pry/commands/watch_expression/expression.rb'
- 'lib/pry/input_completer.rb'
- 'lib/pry/method/weird_method_locator.rb'
- 'lib/pry/pager.rb'
- 'lib/pry/plugins.rb'
- 'lib/pry/pry_class.rb'
- 'spec/commands/cat_spec.rb'
- 'spec/commands/ls_spec.rb'
- 'spec/hooks_spec.rb'
2018-11-04 04:42:51 -05:00
# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
Exclude:
- 'spec/commands/edit_spec.rb'
- 'spec/commands/show_source_spec.rb'
- 'spec/method_spec.rb'
- 'spec/pry_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: only_raise, only_fail, semantic
Style/SignalException:
Exclude:
- 'lib/pry/command_set.rb'
2018-11-04 04:42:51 -05:00
# Offense count: 116
# Cop supports --auto-correct.
# Configuration parameters: AllowIfMethodIsEmpty.
Style/SingleLineMethods:
Enabled: false
2018-11-04 04:42:51 -05:00
# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: use_perl_names, use_english_names
Style/SpecialGlobalVars:
Exclude:
- 'Rakefile'
- 'lib/pry/color_printer.rb'
- 'lib/pry/command.rb'
- 'lib/pry/editor.rb'
- 'lib/pry/pager.rb'
- 'lib/pry/slop.rb'
- 'spec/integration/hanami_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/StderrPuts:
Exclude:
- 'lib/pry/slop.rb'
# Offense count: 2271
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Enabled: false
# Offense count: 20
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiteralsInInterpolation:
Exclude:
- 'lib/pry/command.rb'
- 'lib/pry/commands/show_info.rb'
- 'lib/pry/commands/stat.rb'
- 'lib/pry/commands/toggle_color.rb'
- 'lib/pry/commands/watch_expression.rb'
- 'lib/pry/indent.rb'
- 'spec/helper.rb'
- 'spec/syntax_checking_spec.rb'
# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: MinSize.
# SupportedStyles: percent, brackets
Style/SymbolArray:
EnforcedStyle: brackets
# Offense count: 5
# Cop supports --auto-correct.
Style/SymbolLiteral:
Exclude:
- 'lib/pry/commands/whereami.rb'
- 'lib/pry/helpers/options_helpers.rb'
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
Exclude:
- 'lib/pry/cli.rb'
- 'lib/pry/commands/ls/ls_entity.rb'
- 'lib/pry/wrapped_module.rb'
- 'spec/completion_spec.rb'
2018-11-04 04:42:51 -05:00
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInArrayLiteral:
Exclude:
- 'lib/pry/exceptions.rb'
- 'spec/syntax_checking_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInHashLiteral:
Exclude:
- 'lib/pry/code/code_file.rb'
- 'lib/pry/code_object.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowNamedUnderscoreVariables.
Style/TrailingUnderscoreVariable:
Exclude:
- 'lib/pry/commands/edit/exception_patcher.rb'
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
Exclude:
- 'lib/pry/code/code_range.rb'
- 'lib/pry/hooks.rb'
- 'lib/pry/last_exception.rb'
- 'lib/pry/pager.rb'
- 'lib/pry/pry_class.rb'
# Offense count: 4
# Cop supports --auto-correct.
Style/UnneededCondition:
Exclude:
- 'lib/pry/command.rb'
- 'lib/pry/commands/show_doc.rb'
- 'lib/pry/commands/show_source.rb'
- 'lib/pry/commands/stat.rb'
# Offense count: 5
# Cop supports --auto-correct.
Style/UnneededInterpolation:
Exclude:
- 'lib/pry/cli.rb'
- 'lib/pry/commands/gist.rb'
- 'lib/pry/editor.rb'
- 'lib/pry/pry_instance.rb'
- 'spec/command_integration_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/UnneededPercentQ:
Exclude:
- 'spec/syntax_checking_spec.rb'
# Offense count: 17
# Cop supports --auto-correct.
Style/VariableInterpolation:
Exclude:
- 'spec/commands/edit_spec.rb'
- 'spec/editor_spec.rb'
- 'spec/integration/hanami_spec.rb'
- 'spec/integration/readline_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/WhileUntilModifier:
Exclude:
- 'lib/pry/helpers/table.rb'
- 'lib/pry/method.rb'
# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
# SupportedStyles: percent, brackets
Style/WordArray:
Exclude:
- 'Rakefile'
- 'lib/pry/helpers/command_helpers.rb'
- 'lib/pry/helpers/documentation_helpers.rb'
- 'lib/pry/input_completer.rb'
- 'spec/command_integration_spec.rb'
- 'spec/command_spec.rb'
- 'spec/history_spec.rb'
- 'spec/hooks_spec.rb'
- 'spec/method_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: forbid_for_all_comparison_operators, forbid_for_equality_operators_only, require_for_all_comparison_operators, require_for_equality_operators_only
Style/YodaCondition:
Exclude:
- 'lib/pry/helpers/table.rb'
# Offense count: 6
# Cop supports --auto-correct.
Style/ZeroLengthPredicate:
Exclude:
- 'lib/pry/cli.rb'
- 'lib/pry/code.rb'
- 'lib/pry/commands/cat/input_expression_formatter.rb'
- 'lib/pry/commands/find_method.rb'
- 'lib/pry/commands/help.rb'
- 'lib/pry/testable/evalable.rb'
# Offense count: 869
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 205