Bump rubocop to v0.66.0 and update rubocop_todo

This commit is contained in:
Kyrylo Silin 2019-03-21 00:51:57 +02:00
parent 7b53a54879
commit 869ceccf0a
2 changed files with 19 additions and 22 deletions

View File

@ -1,6 +1,6 @@
# This configuration was generated by
# `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
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@ -18,7 +18,7 @@ Lint/ShadowedException:
Exclude:
- 'lib/pry/method.rb'
# Offense count: 33
# Offense count: 32
Lint/UnderscorePrefixedVariableName:
Enabled: false
@ -33,11 +33,11 @@ Lint/Void:
Exclude:
- 'lib/pry/helpers/table.rb'
# Offense count: 103
# Offense count: 88
Metrics/AbcSize:
Max: 48
# Offense count: 178
# Offense count: 191
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
@ -51,23 +51,23 @@ Metrics/BlockNesting:
# Offense count: 19
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 333
Max: 308
# Offense count: 31
# Offense count: 32
Metrics/CyclomaticComplexity:
Max: 32
# Offense count: 116
# Offense count: 114
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 132
Max: 101
# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 6
# Offense count: 28
# Offense count: 29
Metrics/PerceivedComplexity:
Max: 25
@ -81,7 +81,7 @@ Naming/BinaryOperatorParameterName:
Exclude:
- 'lib/pry/method.rb'
# Offense count: 6
# Offense count: 5
Naming/ConstantName:
Exclude:
- 'lib/pry/input_completer.rb'
@ -118,7 +118,7 @@ Naming/MemoizedInstanceVariableName:
Exclude:
- 'lib/pry/wrapped_module/candidate.rb'
# Offense count: 26
# Offense count: 25
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db
Naming/UncommunicativeMethodParamName:
@ -134,7 +134,7 @@ Security/Eval:
- 'spec/indent_spec.rb'
- 'spec/wrapped_module_spec.rb'
# Offense count: 11
# Offense count: 9
# Configuration parameters: EnforcedStyle.
# SupportedStyles: inline, group
Style/AccessModifierDeclarations:
@ -144,7 +144,6 @@ Style/AccessModifierDeclarations:
- '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
@ -168,11 +167,11 @@ Style/CommentedKeyword:
Exclude:
- 'spec/fixtures/example_nesting.rb'
# Offense count: 154
# Offense count: 138
Style/Documentation:
Enabled: false
# Offense count: 11
# Offense count: 10
Style/DoubleNegation:
Exclude:
- 'lib/pry/code.rb'
@ -193,12 +192,11 @@ Style/EvalWithLocation:
- 'spec/commands/watch_expression_spec.rb'
- 'spec/method_spec.rb'
# Offense count: 9
# Offense count: 3
# 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'
@ -209,7 +207,7 @@ Style/GlobalVars:
Exclude:
- 'spec/commands/edit_spec.rb'
# Offense count: 37
# Offense count: 31
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false
@ -247,19 +245,18 @@ Style/MissingRespondToMissing:
- 'lib/pry/plugins.rb'
- 'lib/pry/wrapped_module.rb'
# Offense count: 8
# Offense count: 4
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: 10
# Offense count: 9
# Cop supports --auto-correct.
Style/PerlBackrefs:
Exclude:

View File

@ -8,5 +8,5 @@ gem 'simplecov', '~> 0.16', require: false
# Rubocop supports only >=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