From 30ed82e7724093bb3c2015a818c28c3592134bba Mon Sep 17 00:00:00 2001 From: eregon Date: Fri, 15 Dec 2017 17:44:37 +0000 Subject: Update to ruby/spec@595645f git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/.rubocop_todo.yml | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) (limited to 'spec/ruby/.rubocop_todo.yml') diff --git a/spec/ruby/.rubocop_todo.yml b/spec/ruby/.rubocop_todo.yml index 05ce1e9af8..c227ca032d 100644 --- a/spec/ruby/.rubocop_todo.yml +++ b/spec/ruby/.rubocop_todo.yml @@ -1,18 +1,11 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2017-10-09 20:22:01 +0200 using RuboCop version 0.50.0. +# on 2017-12-15 22:14:22 +0900 using RuboCop version 0.52.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: 3 -Lint/CircularArgumentReference: - Exclude: - - 'language/block_spec.rb' - - 'language/def_spec.rb' - - 'language/lambda_spec.rb' - # Offense count: 2 Lint/DuplicateCaseCondition: Exclude: @@ -44,15 +37,13 @@ Lint/FloatOutOfRange: Exclude: - 'core/string/modulo_spec.rb' -# Offense count: 43 +# Offense count: 107 Lint/FormatParameterMismatch: Exclude: - - 'core/kernel/sprintf_spec.rb' - - 'core/string/modulo_spec.rb' - 'core/kernel/shared/sprintf.rb' - - 'core/kernel/shared/sprintf_encoding.rb' + - 'core/string/modulo_spec.rb' -# Offense count: 25 +# Offense count: 28 Lint/HandleExceptions: Enabled: false @@ -70,7 +61,7 @@ Lint/IneffectiveAccessModifier: # Offense count: 5 # Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. +# Configuration parameters: EnforcedStyle. # SupportedStyles: runtime_error, standard_error Lint/InheritException: Exclude: @@ -84,6 +75,7 @@ Lint/LiteralInInterpolation: Exclude: - 'language/defined_spec.rb' - 'language/fixtures/squiggly_heredoc.rb' + - 'core/module/refine_spec.rb' # Offense count: 16 Lint/Loop: @@ -112,7 +104,13 @@ Lint/ParenthesesAsGroupedExpression: - 'language/method_spec.rb' - 'library/socket/socket/getaddrinfo_spec.rb' -# Offense count: 22 +# Offense count: 1 +# Cop supports --auto-correct. +Lint/RedundantWithIndex: + Exclude: + - 'core/enumerator/with_index_spec.rb' + +# Offense count: 24 Lint/RescueException: Exclude: - 'command_line/fixtures/debug_info.rb' @@ -136,6 +134,12 @@ Lint/ScriptPermission: Exclude: - 'command_line/fixtures/bin/launcher.rb' +# Offense count: 2 +# Configuration parameters: IgnoreImplicitReferences. +Lint/ShadowedArgument: + Exclude: + - 'language/fixtures/super.rb' + # Offense count: 10 Lint/ShadowingOuterLocalVariable: Exclude: @@ -156,12 +160,11 @@ Lint/UnderscorePrefixedVariableName: - 'core/io/popen_spec.rb' - 'language/block_spec.rb' -# Offense count: 91 +# Offense count: 90 # Cop supports --auto-correct. Lint/UnneededSplatExpansion: Exclude: - 'core/array/element_reference_spec.rb' - - 'core/array/unshift_spec.rb' - 'core/enumerable/fixtures/classes.rb' - 'core/enumerable/max_by_spec.rb' - 'core/enumerable/min_by_spec.rb' @@ -176,7 +179,7 @@ Lint/UnneededSplatExpansion: - 'language/send_spec.rb' - 'language/variables_spec.rb' -# Offense count: 55 +# Offense count: 54 Lint/UnreachableCode: Exclude: - 'core/enumerator/lazy/fixtures/classes.rb' -- cgit v1.2.3