2018-10-06 07:40:35 -04:00
|
|
|
# This configuration was generated by
|
|
|
|
# `rubocop --auto-gen-config`
|
2019-02-24 12:58:59 -05:00
|
|
|
# on 2019-02-24 19:58:43 +0200 using RuboCop version 0.65.0.
|
2018-10-06 07:40:35 -04:00
|
|
|
# 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'
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 33
|
2018-10-06 07:40:35 -04:00
|
|
|
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'
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 103
|
2018-10-06 07:40:35 -04:00
|
|
|
Metrics/AbcSize:
|
2019-02-24 12:58:59 -05:00
|
|
|
Max: 48
|
2018-10-06 07:40:35 -04:00
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 178
|
2018-10-06 07:40:35 -04:00
|
|
|
# Configuration parameters: CountComments, ExcludedMethods.
|
|
|
|
# ExcludedMethods: refine
|
|
|
|
Metrics/BlockLength:
|
2019-03-02 08:35:35 -05:00
|
|
|
Max: 760
|
2018-10-06 07:40:35 -04:00
|
|
|
|
|
|
|
# Offense count: 1
|
|
|
|
# Configuration parameters: CountBlocks.
|
|
|
|
Metrics/BlockNesting:
|
|
|
|
Max: 4
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 19
|
2018-10-06 07:40:35 -04:00
|
|
|
# Configuration parameters: CountComments.
|
|
|
|
Metrics/ClassLength:
|
2019-02-24 12:31:39 -05:00
|
|
|
Max: 333
|
2018-10-06 07:40:35 -04:00
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 31
|
2018-10-06 07:40:35 -04:00
|
|
|
Metrics/CyclomaticComplexity:
|
|
|
|
Max: 32
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 116
|
2018-10-06 07:40:35 -04:00
|
|
|
# Configuration parameters: CountComments, ExcludedMethods.
|
|
|
|
Metrics/MethodLength:
|
|
|
|
Max: 132
|
|
|
|
|
|
|
|
# Offense count: 1
|
|
|
|
# Configuration parameters: CountKeywordArgs.
|
|
|
|
Metrics/ParameterLists:
|
|
|
|
Max: 6
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 28
|
2018-10-06 07:40:35 -04:00
|
|
|
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
|
2018-10-06 07:40:35 -04:00
|
|
|
# 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'
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 39
|
2018-10-06 07:40:35 -04:00
|
|
|
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'
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 154
|
2018-10-06 07:40:35 -04:00
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 11
|
2018-10-06 07:40:35 -04:00
|
|
|
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
|
2018-10-06 07:40:35 -04:00
|
|
|
# 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'
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 37
|
2018-10-06 07:40:35 -04:00
|
|
|
# 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'
|
|
|
|
|
|
|
|
# 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: 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'
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 10
|
2018-10-06 07:40:35 -04:00
|
|
|
# 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'
|
|
|
|
|
2019-02-24 12:58:59 -05:00
|
|
|
# Offense count: 869
|
2018-10-06 07:40:35 -04:00
|
|
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
|
|
# URISchemes: http, https
|
|
|
|
Metrics/LineLength:
|
|
|
|
Max: 205
|