mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
rubocop: regenerate rubocop_todo.yml
This commit is contained in:
parent
9de44365d6
commit
14b2a8d0fa
1 changed files with 44 additions and 127 deletions
|
@ -1,6 +1,6 @@
|
|||
# This configuration was generated by
|
||||
# `rubocop --auto-gen-config`
|
||||
# on 2018-10-06 19:38:37 +0800 using RuboCop version 0.59.2.
|
||||
# on 2018-11-04 17:42:27 +0800 using RuboCop version 0.59.2.
|
||||
# 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
|
||||
|
@ -14,14 +14,6 @@ Bundler/InsecureProtocolSource:
|
|||
Exclude:
|
||||
- 'spec/fixtures/Gemfile'
|
||||
|
||||
# Offense count: 4
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
|
||||
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
||||
Bundler/OrderedGems:
|
||||
Exclude:
|
||||
- 'Gemfile'
|
||||
|
||||
# Offense count: 1
|
||||
# Configuration parameters: Include.
|
||||
# Include: **/*.gemspec
|
||||
|
@ -29,18 +21,15 @@ Gemspec/RequiredRubyVersion:
|
|||
Exclude:
|
||||
- 'pry.gemspec'
|
||||
|
||||
# Offense count: 8
|
||||
# Offense count: 5
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: outdent, indent
|
||||
Layout/AccessModifierIndentation:
|
||||
Exclude:
|
||||
- 'lib/pry/commands/change_inspector.rb'
|
||||
- 'lib/pry/commands/change_prompt.rb'
|
||||
- 'lib/pry/commands/gem_search.rb'
|
||||
- 'lib/pry/commands/list_inspectors.rb'
|
||||
- 'lib/pry/commands/list_prompts.rb'
|
||||
- 'lib/pry/config/behavior.rb'
|
||||
- 'spec/method_spec.rb'
|
||||
|
||||
# Offense count: 2
|
||||
|
@ -100,15 +89,6 @@ Layout/BlockEndNewline:
|
|||
- 'spec/completion_spec.rb'
|
||||
- 'spec/prompt_spec.rb'
|
||||
|
||||
# Offense count: 11
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
|
||||
# SupportedStyles: case, end
|
||||
Layout/CaseIndentation:
|
||||
Exclude:
|
||||
- 'lib/pry/commands/hist.rb'
|
||||
- 'lib/pry/method.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# Cop supports --auto-correct.
|
||||
Layout/ClosingHeredocIndentation:
|
||||
|
@ -153,13 +133,6 @@ Layout/DotPosition:
|
|||
- 'spec/pry_defaults_spec.rb'
|
||||
- 'spec/sticky_locals_spec.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Layout/ElseAlignment:
|
||||
Exclude:
|
||||
- 'lib/pry/commands/find_method.rb'
|
||||
- 'lib/pry/editor.rb'
|
||||
|
||||
# Offense count: 4
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowBorderComment, AllowMarginComment.
|
||||
|
@ -167,37 +140,25 @@ Layout/EmptyComment:
|
|||
Exclude:
|
||||
- 'spec/command_spec.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Layout/EmptyLineAfterMagicComment:
|
||||
Exclude:
|
||||
- 'lib/pry/terminal.rb'
|
||||
- 'pry.gemspec'
|
||||
|
||||
# Offense count: 16
|
||||
# Offense count: 10
|
||||
# Cop supports --auto-correct.
|
||||
Layout/EmptyLinesAroundAccessModifier:
|
||||
Exclude:
|
||||
- 'lib/pry/commands/cat/abstract_formatter.rb'
|
||||
- 'lib/pry/commands/change_inspector.rb'
|
||||
- 'lib/pry/commands/change_prompt.rb'
|
||||
- 'lib/pry/commands/gem_search.rb'
|
||||
- 'lib/pry/commands/gem_stats.rb'
|
||||
- 'lib/pry/commands/list_inspectors.rb'
|
||||
- 'lib/pry/commands/list_prompts.rb'
|
||||
- 'lib/pry/config/behavior.rb'
|
||||
- 'lib/pry/config/default.rb'
|
||||
- 'lib/pry/helpers/table.rb'
|
||||
- 'lib/pry/history_array.rb'
|
||||
- 'lib/pry/plugins.rb'
|
||||
- 'spec/method_spec.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Layout/EmptyLinesAroundArguments:
|
||||
Exclude:
|
||||
- 'spec/command_spec.rb'
|
||||
|
||||
# Offense count: 6
|
||||
# Cop supports --auto-correct.
|
||||
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
||||
|
@ -242,14 +203,12 @@ Layout/FirstParameterIndentation:
|
|||
- 'spec/commands/ls_spec.rb'
|
||||
- 'spec/method_spec.rb'
|
||||
|
||||
# Offense count: 11
|
||||
# Offense count: 3
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
||||
Layout/IndentArray:
|
||||
Exclude:
|
||||
- 'lib/pry.rb'
|
||||
- 'lib/pry/config/convenience.rb'
|
||||
- 'lib/pry/input_completer.rb'
|
||||
|
||||
# Offense count: 1
|
||||
|
@ -259,7 +218,7 @@ Layout/IndentAssignment:
|
|||
Exclude:
|
||||
- 'lib/pry/helpers/text.rb'
|
||||
|
||||
# Offense count: 7
|
||||
# Offense count: 6
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
||||
|
@ -267,7 +226,6 @@ Layout/IndentHash:
|
|||
Exclude:
|
||||
- 'lib/pry/commands/ls.rb'
|
||||
- 'lib/pry/config/default.rb'
|
||||
- 'lib/pry/prompt.rb'
|
||||
- 'lib/pry/pry_instance.rb'
|
||||
|
||||
# Offense count: 9
|
||||
|
@ -279,29 +237,25 @@ Layout/IndentationConsistency:
|
|||
- 'spec/commands/show_source_spec.rb'
|
||||
- 'spec/indent_spec.rb'
|
||||
|
||||
# Offense count: 15
|
||||
# Offense count: 12
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: Width, IgnoredPatterns.
|
||||
Layout/IndentationWidth:
|
||||
Exclude:
|
||||
- 'lib/pry/commands/edit.rb'
|
||||
- 'lib/pry/commands/find_method.rb'
|
||||
- 'lib/pry/commands/help.rb'
|
||||
- 'lib/pry/commands/show_doc.rb'
|
||||
- 'lib/pry/editor.rb'
|
||||
- 'lib/pry/method.rb'
|
||||
- 'spec/command_set_spec.rb'
|
||||
- 'spec/command_spec.rb'
|
||||
- 'spec/commands/show_source_spec.rb'
|
||||
- 'spec/helper.rb'
|
||||
|
||||
# Offense count: 4
|
||||
# Offense count: 3
|
||||
# Cop supports --auto-correct.
|
||||
Layout/LeadingCommentSpace:
|
||||
Exclude:
|
||||
- 'lib/pry/commands/ls/instance_vars.rb'
|
||||
- 'lib/pry/input_completer.rb'
|
||||
- 'spec/commands/edit_spec.rb'
|
||||
- 'spec/fixtures/show_source_doc_examples.rb'
|
||||
|
||||
# Offense count: 2
|
||||
|
@ -344,7 +298,7 @@ Layout/MultilineMethodCallIndentation:
|
|||
- 'spec/command_set_spec.rb'
|
||||
- 'spec/pry_defaults_spec.rb'
|
||||
|
||||
# Offense count: 16
|
||||
# Offense count: 14
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: aligned, indented
|
||||
|
@ -359,7 +313,6 @@ Layout/MultilineOperationIndentation:
|
|||
- 'lib/pry/pry_instance.rb'
|
||||
- 'lib/pry/slop/option.rb'
|
||||
- 'lib/pry/wrapped_module.rb'
|
||||
- 'spec/helper.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
|
@ -403,17 +356,6 @@ Layout/SpaceBeforeComma:
|
|||
- 'spec/pry_defaults_spec.rb'
|
||||
- 'spec/sticky_locals_spec.rb'
|
||||
|
||||
# Offense count: 12
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowForAlignment.
|
||||
Layout/SpaceBeforeFirstArg:
|
||||
Exclude:
|
||||
- 'lib/pry/command.rb'
|
||||
- 'spec/command_set_spec.rb'
|
||||
- 'spec/commands/edit_spec.rb'
|
||||
- 'spec/completion_spec.rb'
|
||||
- 'spec/pry_repl_spec.rb'
|
||||
|
||||
# Offense count: 5
|
||||
# Cop supports --auto-correct.
|
||||
Layout/SpaceBeforeSemicolon:
|
||||
|
@ -421,7 +363,7 @@ Layout/SpaceBeforeSemicolon:
|
|||
- 'spec/commands/show_doc_spec.rb'
|
||||
- 'spec/method_spec.rb'
|
||||
|
||||
# Offense count: 9
|
||||
# Offense count: 7
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
||||
# SupportedStyles: space, no_space, compact
|
||||
|
@ -429,7 +371,6 @@ Layout/SpaceBeforeSemicolon:
|
|||
Layout/SpaceInsideArrayLiteralBrackets:
|
||||
Exclude:
|
||||
- 'lib/pry/input_completer.rb'
|
||||
- 'lib/pry/repl.rb'
|
||||
- 'spec/history_spec.rb'
|
||||
- 'spec/pry_defaults_spec.rb'
|
||||
|
||||
|
@ -439,7 +380,7 @@ Layout/SpaceInsideArrayPercentLiteral:
|
|||
Exclude:
|
||||
- 'spec/helpers/table_spec.rb'
|
||||
|
||||
# Offense count: 44
|
||||
# Offense count: 42
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
||||
# SupportedStyles: space, no_space, compact
|
||||
|
@ -465,13 +406,12 @@ Layout/SpaceInsideParens:
|
|||
- 'spec/pry_defaults_spec.rb'
|
||||
- 'spec/sticky_locals_spec.rb'
|
||||
|
||||
# Offense count: 25
|
||||
# Offense count: 24
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: space, no_space
|
||||
Layout/SpaceInsideStringInterpolation:
|
||||
Exclude:
|
||||
- 'lib/pry.rb'
|
||||
- 'lib/pry/code/code_file.rb'
|
||||
- 'lib/pry/code/loc.rb'
|
||||
- 'lib/pry/commands/gem_install.rb'
|
||||
|
@ -492,7 +432,7 @@ Layout/TrailingBlankLines:
|
|||
Exclude:
|
||||
- 'spec/exception_whitelist_spec.rb'
|
||||
|
||||
# Offense count: 14
|
||||
# Offense count: 13
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowInHeredoc.
|
||||
Layout/TrailingWhitespace:
|
||||
|
@ -500,7 +440,6 @@ Layout/TrailingWhitespace:
|
|||
- 'lib/pry/color_printer.rb'
|
||||
- 'lib/pry/testable/variables.rb'
|
||||
- 'spec/color_printer_spec.rb'
|
||||
- 'spec/commands/edit_spec.rb'
|
||||
- 'spec/indent_spec.rb'
|
||||
|
||||
# Offense count: 3
|
||||
|
@ -565,7 +504,7 @@ Lint/ShadowedException:
|
|||
Lint/UnderscorePrefixedVariableName:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 46
|
||||
# Offense count: 49
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
||||
Lint/UnusedBlockArgument:
|
||||
|
@ -582,7 +521,7 @@ Lint/Void:
|
|||
Exclude:
|
||||
- 'lib/pry/helpers/table.rb'
|
||||
|
||||
# Offense count: 101
|
||||
# Offense count: 100
|
||||
Metrics/AbcSize:
|
||||
Max: 130
|
||||
|
||||
|
@ -600,13 +539,13 @@ Metrics/BlockNesting:
|
|||
# Offense count: 20
|
||||
# Configuration parameters: CountComments.
|
||||
Metrics/ClassLength:
|
||||
Max: 366
|
||||
Max: 332
|
||||
|
||||
# Offense count: 29
|
||||
# Offense count: 30
|
||||
Metrics/CyclomaticComplexity:
|
||||
Max: 32
|
||||
|
||||
# Offense count: 107
|
||||
# Offense count: 108
|
||||
# Configuration parameters: CountComments, ExcludedMethods.
|
||||
Metrics/MethodLength:
|
||||
Max: 132
|
||||
|
@ -621,7 +560,7 @@ Metrics/ModuleLength:
|
|||
Metrics/ParameterLists:
|
||||
Max: 6
|
||||
|
||||
# Offense count: 26
|
||||
# Offense count: 27
|
||||
Metrics/PerceivedComplexity:
|
||||
Max: 25
|
||||
|
||||
|
@ -677,21 +616,6 @@ Naming/MemoizedInstanceVariableName:
|
|||
# SupportedStyles: snake_case, camelCase
|
||||
Naming/MethodName:
|
||||
EnforcedStyle: snake_case
|
||||
Exclude:
|
||||
- 'spec/code_object_spec.rb'
|
||||
- 'lib/pry/method.rb'
|
||||
- 'lib/pry/wrapped_module.rb'
|
||||
- 'lib/pry/code.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
|
||||
# NamePrefix: is_, has_, have_
|
||||
# NamePrefixBlacklist: is_, has_, have_
|
||||
# NameWhitelist: is_a?
|
||||
# MethodDefinitionMacros: define_method, define_singleton_method
|
||||
Naming/PredicateName:
|
||||
Exclude:
|
||||
- 'spec/**/*'
|
||||
|
||||
# Offense count: 26
|
||||
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
||||
|
@ -735,7 +659,7 @@ Performance/RedundantMerge:
|
|||
- 'lib/pry/slop/commands.rb'
|
||||
- 'spec/config_spec.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Offense count: 4
|
||||
# Cop supports --auto-correct.
|
||||
Performance/Size:
|
||||
Exclude:
|
||||
|
@ -781,13 +705,12 @@ Security/JSONLoad:
|
|||
Exclude:
|
||||
- 'lib/pry/commands/gem_search.rb'
|
||||
|
||||
# Offense count: 12
|
||||
# Offense count: 11
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: inline, group
|
||||
Style/AccessModifierDeclarations:
|
||||
Exclude:
|
||||
- 'lib/pry/command.rb'
|
||||
- 'lib/pry/command_set.rb'
|
||||
- 'lib/pry/forwardable.rb'
|
||||
- 'lib/pry/helpers/base_helpers.rb'
|
||||
- 'lib/pry/pry_instance.rb'
|
||||
|
@ -795,7 +718,7 @@ Style/AccessModifierDeclarations:
|
|||
- 'spec/helper.rb'
|
||||
- 'spec/method/patcher_spec.rb'
|
||||
|
||||
# Offense count: 20
|
||||
# Offense count: 19
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: prefer_alias, prefer_alias_method
|
||||
|
@ -804,12 +727,11 @@ Style/Alias:
|
|||
- 'lib/pry/command.rb'
|
||||
- 'lib/pry/command_set.rb'
|
||||
- 'lib/pry/config/behavior.rb'
|
||||
- 'lib/pry/helpers/text.rb'
|
||||
- 'lib/pry/wrapped_module.rb'
|
||||
- 'lib/pry/wrapped_module/candidate.rb'
|
||||
- 'spec/method_spec.rb'
|
||||
|
||||
# Offense count: 47
|
||||
# Offense count: 44
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: always, conditionals
|
||||
|
@ -823,7 +745,7 @@ Style/AsciiComments:
|
|||
- 'lib/pry/pry_instance.rb'
|
||||
- 'lib/pry/terminal.rb'
|
||||
|
||||
# Offense count: 50
|
||||
# Offense count: 51
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods.
|
||||
# SupportedStyles: line_count_based, semantic, braces_for_chaining
|
||||
|
@ -853,7 +775,7 @@ Style/BracesAroundHashParameters:
|
|||
Style/CaseEquality:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 107
|
||||
# Offense count: 96
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AutoCorrect, EnforcedStyle.
|
||||
# SupportedStyles: nested, compact
|
||||
|
@ -891,11 +813,11 @@ Style/ConditionalAssignment:
|
|||
- 'lib/pry/testable/pry_tester.rb'
|
||||
- 'lib/pry/wrapped_module.rb'
|
||||
|
||||
# Offense count: 164
|
||||
# Offense count: 159
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 19
|
||||
# Offense count: 17
|
||||
Style/DoubleNegation:
|
||||
Exclude:
|
||||
- 'lib/pry/code.rb'
|
||||
|
@ -956,13 +878,12 @@ Style/EmptyMethod:
|
|||
- 'spec/method_spec.rb'
|
||||
- 'spec/wrapped_module_spec.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Style/Encoding:
|
||||
Exclude:
|
||||
- 'lib/pry/pry_instance.rb'
|
||||
- 'lib/pry/terminal.rb'
|
||||
- 'pry.gemspec'
|
||||
|
||||
# Offense count: 27
|
||||
Style/EvalWithLocation:
|
||||
|
@ -980,7 +901,7 @@ Style/ExpandPathArguments:
|
|||
- 'lib/pry/commands.rb'
|
||||
- 'pry.gemspec'
|
||||
|
||||
# Offense count: 5
|
||||
# Offense count: 4
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: format, sprintf, percent
|
||||
|
@ -991,7 +912,7 @@ Style/FormatString:
|
|||
- 'lib/pry/config/behavior.rb'
|
||||
- 'lib/pry/pry_class.rb'
|
||||
|
||||
# Offense count: 11
|
||||
# Offense count: 9
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: annotated, template, unannotated
|
||||
Style/FormatStringToken:
|
||||
|
@ -1007,7 +928,7 @@ Style/GlobalVars:
|
|||
Exclude:
|
||||
- 'spec/commands/edit_spec.rb'
|
||||
|
||||
# Offense count: 37
|
||||
# Offense count: 38
|
||||
# Configuration parameters: MinBodyLength.
|
||||
Style/GuardClause:
|
||||
Enabled: false
|
||||
|
@ -1026,7 +947,7 @@ Style/IfInsideElse:
|
|||
- 'lib/pry/slop/commands.rb'
|
||||
- 'lib/pry/slop/option.rb'
|
||||
|
||||
# Offense count: 77
|
||||
# Offense count: 79
|
||||
# Cop supports --auto-correct.
|
||||
Style/IfUnlessModifier:
|
||||
Enabled: false
|
||||
|
@ -1065,13 +986,12 @@ Style/MethodCallWithoutArgsParentheses:
|
|||
Exclude:
|
||||
- 'lib/pry/helpers/command_helpers.rb'
|
||||
|
||||
# Offense count: 8
|
||||
# Offense count: 6
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
|
||||
Style/MethodDefParentheses:
|
||||
Exclude:
|
||||
- 'Rakefile'
|
||||
- 'lib/pry/helpers/table.rb'
|
||||
- 'lib/pry/terminal.rb'
|
||||
|
||||
|
@ -1117,12 +1037,12 @@ Style/MultipleComparison:
|
|||
Exclude:
|
||||
- 'lib/pry/indent.rb'
|
||||
|
||||
# Offense count: 43
|
||||
# Offense count: 36
|
||||
# Cop supports --auto-correct.
|
||||
Style/MutableConstant:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 26
|
||||
# Offense count: 23
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: both, prefix, postfix
|
||||
|
@ -1202,7 +1122,7 @@ Style/ParallelAssignment:
|
|||
- 'spec/prompt_spec.rb'
|
||||
- 'spec/pry_defaults_spec.rb'
|
||||
|
||||
# Offense count: 58
|
||||
# Offense count: 57
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: PreferredDelimiters.
|
||||
Style/PercentLiteralDelimiters:
|
||||
|
@ -1318,7 +1238,7 @@ Style/RegexpLiteral:
|
|||
- 'spec/pry_spec.rb'
|
||||
- 'spec/sticky_locals_spec.rb'
|
||||
|
||||
# Offense count: 13
|
||||
# Offense count: 12
|
||||
# Cop supports --auto-correct.
|
||||
Style/RescueModifier:
|
||||
Exclude:
|
||||
|
@ -1326,7 +1246,6 @@ Style/RescueModifier:
|
|||
- 'lib/pry/code_object.rb'
|
||||
- 'lib/pry/color_printer.rb'
|
||||
- 'lib/pry/commands/ls/constants.rb'
|
||||
- 'lib/pry/config/default.rb'
|
||||
- 'lib/pry/input_completer.rb'
|
||||
- 'lib/pry/method.rb'
|
||||
- 'lib/pry/method/patcher.rb'
|
||||
|
@ -1348,7 +1267,7 @@ Style/RescueStandardError:
|
|||
- 'spec/commands/ls_spec.rb'
|
||||
- 'spec/hooks_spec.rb'
|
||||
|
||||
# Offense count: 23
|
||||
# Offense count: 16
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowAsExpressionSeparator.
|
||||
Style/Semicolon:
|
||||
|
@ -1366,13 +1285,13 @@ Style/SignalException:
|
|||
Exclude:
|
||||
- 'lib/pry/command_set.rb'
|
||||
|
||||
# Offense count: 118
|
||||
# Offense count: 116
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowIfMethodIsEmpty.
|
||||
Style/SingleLineMethods:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 9
|
||||
# Offense count: 8
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: use_perl_names, use_english_names
|
||||
|
@ -1381,7 +1300,6 @@ Style/SpecialGlobalVars:
|
|||
- 'Rakefile'
|
||||
- 'lib/pry/color_printer.rb'
|
||||
- 'lib/pry/command.rb'
|
||||
- 'lib/pry/commands/gem_stats.rb'
|
||||
- 'lib/pry/editor.rb'
|
||||
- 'lib/pry/pager.rb'
|
||||
- 'lib/pry/slop.rb'
|
||||
|
@ -1393,7 +1311,7 @@ Style/StderrPuts:
|
|||
Exclude:
|
||||
- 'lib/pry/slop.rb'
|
||||
|
||||
# Offense count: 2308
|
||||
# Offense count: 2305
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
||||
# SupportedStyles: single_quotes, double_quotes
|
||||
|
@ -1415,7 +1333,7 @@ Style/StringLiteralsInInterpolation:
|
|||
- 'spec/helper.rb'
|
||||
- 'spec/syntax_checking_spec.rb'
|
||||
|
||||
# Offense count: 12
|
||||
# Offense count: 11
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: MinSize.
|
||||
# SupportedStyles: percent, brackets
|
||||
|
@ -1440,13 +1358,12 @@ Style/SymbolProc:
|
|||
- 'lib/pry/wrapped_module.rb'
|
||||
- 'spec/completion_spec.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyleForMultiline.
|
||||
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
||||
Style/TrailingCommaInArrayLiteral:
|
||||
Exclude:
|
||||
- 'lib/pry.rb'
|
||||
- 'lib/pry/exceptions.rb'
|
||||
- 'spec/syntax_checking_spec.rb'
|
||||
|
||||
|
@ -1554,7 +1471,7 @@ Style/ZeroLengthPredicate:
|
|||
- 'lib/pry/commands/help.rb'
|
||||
- 'lib/pry/testable/evalable.rb'
|
||||
|
||||
# Offense count: 883
|
||||
# Offense count: 854
|
||||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
||||
# URISchemes: http, https
|
||||
Metrics/LineLength:
|
||||
|
|
Loading…
Reference in a new issue