.rubocop_todo.yml in amqp-client-0.1.0 vs .rubocop_todo.yml in amqp-client-0.2.0

- old
+ new

@@ -1,76 +1,74 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2021-04-29 10:30:28 UTC using RuboCop version 1.12.1. +# on 2021-06-01 23:54:39 UTC using RuboCop version 1.15.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: 1 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: - Max: 129 + Max: 123 -# Offense count: 2 -Lint/ShadowedException: - Exclude: - - 'lib/amqp/client.rb' - - 'lib/amqp/client/connection.rb' - -# Offense count: 2 -# Cop supports --auto-correct. -# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. -Lint/UnusedMethodArgument: - Exclude: - - 'lib/amqp/client/channel.rb' - -# Offense count: 6 +# Offense count: 15 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: - Max: 52 + Max: 142 # Offense count: 1 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. # IgnoredMethods: refine Metrics/BlockLength: - Max: 76 + Max: 37 -# Offense count: 3 +# Offense count: 2 +# Configuration parameters: CountBlocks. +Metrics/BlockNesting: + Max: 4 + +# Offense count: 2 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: - Max: 148 + Max: 191 -# Offense count: 5 +# Offense count: 9 # Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: - Max: 18 + Max: 30 -# Offense count: 9 +# Offense count: 26 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: - Max: 83 + Max: 124 -# Offense count: 1 +# Offense count: 3 +# Configuration parameters: CountComments, CountAsOne. +Metrics/ModuleLength: + Max: 300 + +# Offense count: 5 # Configuration parameters: CountKeywordArgs, MaxOptionalParameters. Metrics/ParameterLists: - Max: 6 + Max: 7 -# Offense count: 3 +# Offense count: 7 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: - Max: 12 + Max: 18 # Offense count: 1 # Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: always, always_true, never -Style/FrozenStringLiteralComment: +# Configuration parameters: EnforcedStyle, IgnoredMethods. +# SupportedStyles: predicate, comparison +Style/NumericPredicate: Exclude: - - 'bm_append_string.rb' + - 'spec/**/*' + - 'lib/amqp/client/channel.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, explicit @@ -78,9 +76,17 @@ Exclude: - 'lib/amqp/client.rb' # Offense count: 1 # Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle. +# SupportedStyles: forbid_for_all_comparison_operators, forbid_for_equality_operators_only, require_for_all_comparison_operators, require_for_equality_operators_only +Style/YodaCondition: + Exclude: + - 'lib/amqp/client/channel.rb' + +# Offense count: 1 +# Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: - Max: 129 + Max: 123