Bump rubocop to v0.66.0 and update rubocop_todo
This commit is contained in:
parent
7b53a54879
commit
869ceccf0a
|
@ -1,6 +1,6 @@
|
||||||
# This configuration was generated by
|
# This configuration was generated by
|
||||||
# `rubocop --auto-gen-config`
|
# `rubocop --auto-gen-config`
|
||||||
# on 2019-02-24 19:58:43 +0200 using RuboCop version 0.65.0.
|
# on 2019-03-21 00:51:00 +0200 using RuboCop version 0.66.0.
|
||||||
# The point is for the user to remove these configuration records
|
# The point is for the user to remove these configuration records
|
||||||
# one by one as the offenses are removed from the code base.
|
# one by one as the offenses are removed from the code base.
|
||||||
# Note that changes in the inspected code, or installation of new
|
# Note that changes in the inspected code, or installation of new
|
||||||
|
@ -18,7 +18,7 @@ Lint/ShadowedException:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/pry/method.rb'
|
- 'lib/pry/method.rb'
|
||||||
|
|
||||||
# Offense count: 33
|
# Offense count: 32
|
||||||
Lint/UnderscorePrefixedVariableName:
|
Lint/UnderscorePrefixedVariableName:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
@ -33,11 +33,11 @@ Lint/Void:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/pry/helpers/table.rb'
|
- 'lib/pry/helpers/table.rb'
|
||||||
|
|
||||||
# Offense count: 103
|
# Offense count: 88
|
||||||
Metrics/AbcSize:
|
Metrics/AbcSize:
|
||||||
Max: 48
|
Max: 48
|
||||||
|
|
||||||
# Offense count: 178
|
# Offense count: 191
|
||||||
# Configuration parameters: CountComments, ExcludedMethods.
|
# Configuration parameters: CountComments, ExcludedMethods.
|
||||||
# ExcludedMethods: refine
|
# ExcludedMethods: refine
|
||||||
Metrics/BlockLength:
|
Metrics/BlockLength:
|
||||||
|
@ -51,23 +51,23 @@ Metrics/BlockNesting:
|
||||||
# Offense count: 19
|
# Offense count: 19
|
||||||
# Configuration parameters: CountComments.
|
# Configuration parameters: CountComments.
|
||||||
Metrics/ClassLength:
|
Metrics/ClassLength:
|
||||||
Max: 333
|
Max: 308
|
||||||
|
|
||||||
# Offense count: 31
|
# Offense count: 32
|
||||||
Metrics/CyclomaticComplexity:
|
Metrics/CyclomaticComplexity:
|
||||||
Max: 32
|
Max: 32
|
||||||
|
|
||||||
# Offense count: 116
|
# Offense count: 114
|
||||||
# Configuration parameters: CountComments, ExcludedMethods.
|
# Configuration parameters: CountComments, ExcludedMethods.
|
||||||
Metrics/MethodLength:
|
Metrics/MethodLength:
|
||||||
Max: 132
|
Max: 101
|
||||||
|
|
||||||
# Offense count: 1
|
# Offense count: 1
|
||||||
# Configuration parameters: CountKeywordArgs.
|
# Configuration parameters: CountKeywordArgs.
|
||||||
Metrics/ParameterLists:
|
Metrics/ParameterLists:
|
||||||
Max: 6
|
Max: 6
|
||||||
|
|
||||||
# Offense count: 28
|
# Offense count: 29
|
||||||
Metrics/PerceivedComplexity:
|
Metrics/PerceivedComplexity:
|
||||||
Max: 25
|
Max: 25
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ Naming/BinaryOperatorParameterName:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/pry/method.rb'
|
- 'lib/pry/method.rb'
|
||||||
|
|
||||||
# Offense count: 6
|
# Offense count: 5
|
||||||
Naming/ConstantName:
|
Naming/ConstantName:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/pry/input_completer.rb'
|
- 'lib/pry/input_completer.rb'
|
||||||
|
@ -118,7 +118,7 @@ Naming/MemoizedInstanceVariableName:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/pry/wrapped_module/candidate.rb'
|
- 'lib/pry/wrapped_module/candidate.rb'
|
||||||
|
|
||||||
# Offense count: 26
|
# Offense count: 25
|
||||||
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
||||||
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
||||||
Naming/UncommunicativeMethodParamName:
|
Naming/UncommunicativeMethodParamName:
|
||||||
|
@ -134,7 +134,7 @@ Security/Eval:
|
||||||
- 'spec/indent_spec.rb'
|
- 'spec/indent_spec.rb'
|
||||||
- 'spec/wrapped_module_spec.rb'
|
- 'spec/wrapped_module_spec.rb'
|
||||||
|
|
||||||
# Offense count: 11
|
# Offense count: 9
|
||||||
# Configuration parameters: EnforcedStyle.
|
# Configuration parameters: EnforcedStyle.
|
||||||
# SupportedStyles: inline, group
|
# SupportedStyles: inline, group
|
||||||
Style/AccessModifierDeclarations:
|
Style/AccessModifierDeclarations:
|
||||||
|
@ -144,7 +144,6 @@ Style/AccessModifierDeclarations:
|
||||||
- 'lib/pry/helpers/base_helpers.rb'
|
- 'lib/pry/helpers/base_helpers.rb'
|
||||||
- 'lib/pry/pry_instance.rb'
|
- 'lib/pry/pry_instance.rb'
|
||||||
- 'spec/editor_spec.rb'
|
- 'spec/editor_spec.rb'
|
||||||
- 'spec/helper.rb'
|
|
||||||
- 'spec/method/patcher_spec.rb'
|
- 'spec/method/patcher_spec.rb'
|
||||||
|
|
||||||
# Offense count: 2
|
# Offense count: 2
|
||||||
|
@ -168,11 +167,11 @@ Style/CommentedKeyword:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/fixtures/example_nesting.rb'
|
- 'spec/fixtures/example_nesting.rb'
|
||||||
|
|
||||||
# Offense count: 154
|
# Offense count: 138
|
||||||
Style/Documentation:
|
Style/Documentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# Offense count: 11
|
# Offense count: 10
|
||||||
Style/DoubleNegation:
|
Style/DoubleNegation:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/pry/code.rb'
|
- 'lib/pry/code.rb'
|
||||||
|
@ -193,12 +192,11 @@ Style/EvalWithLocation:
|
||||||
- 'spec/commands/watch_expression_spec.rb'
|
- 'spec/commands/watch_expression_spec.rb'
|
||||||
- 'spec/method_spec.rb'
|
- 'spec/method_spec.rb'
|
||||||
|
|
||||||
# Offense count: 9
|
# Offense count: 3
|
||||||
# Configuration parameters: EnforcedStyle.
|
# Configuration parameters: EnforcedStyle.
|
||||||
# SupportedStyles: annotated, template, unannotated
|
# SupportedStyles: annotated, template, unannotated
|
||||||
Style/FormatStringToken:
|
Style/FormatStringToken:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/pry/commands/gem_stats.rb'
|
|
||||||
- 'lib/pry/commands/ls/local_vars.rb'
|
- 'lib/pry/commands/ls/local_vars.rb'
|
||||||
- 'lib/pry/config/behavior.rb'
|
- 'lib/pry/config/behavior.rb'
|
||||||
- 'lib/pry/pry_class.rb'
|
- 'lib/pry/pry_class.rb'
|
||||||
|
@ -209,7 +207,7 @@ Style/GlobalVars:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/commands/edit_spec.rb'
|
- 'spec/commands/edit_spec.rb'
|
||||||
|
|
||||||
# Offense count: 37
|
# Offense count: 31
|
||||||
# Configuration parameters: MinBodyLength.
|
# Configuration parameters: MinBodyLength.
|
||||||
Style/GuardClause:
|
Style/GuardClause:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
@ -247,19 +245,18 @@ Style/MissingRespondToMissing:
|
||||||
- 'lib/pry/plugins.rb'
|
- 'lib/pry/plugins.rb'
|
||||||
- 'lib/pry/wrapped_module.rb'
|
- 'lib/pry/wrapped_module.rb'
|
||||||
|
|
||||||
# Offense count: 8
|
# Offense count: 4
|
||||||
Style/MultilineBlockChain:
|
Style/MultilineBlockChain:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/pry/command_set.rb'
|
- 'lib/pry/command_set.rb'
|
||||||
- 'lib/pry/commands/ls/local_vars.rb'
|
- 'lib/pry/commands/ls/local_vars.rb'
|
||||||
- 'spec/cli_spec.rb'
|
|
||||||
|
|
||||||
# Offense count: 2
|
# Offense count: 2
|
||||||
Style/MultipleComparison:
|
Style/MultipleComparison:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/pry/indent.rb'
|
- 'lib/pry/indent.rb'
|
||||||
|
|
||||||
# Offense count: 10
|
# Offense count: 9
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
Style/PerlBackrefs:
|
Style/PerlBackrefs:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|
2
Gemfile
2
Gemfile
|
@ -8,5 +8,5 @@ gem 'simplecov', '~> 0.16', require: false
|
||||||
|
|
||||||
# Rubocop supports only >=2.2.0
|
# Rubocop supports only >=2.2.0
|
||||||
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.2.0')
|
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.2.0')
|
||||||
gem 'rubocop', '= 0.65.0', require: false
|
gem 'rubocop', '= 0.66.0', require: false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue