diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index ee7caead3..ea002af80 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2024-10-14 12:11:58 UTC using RuboCop version 1.66.1. +# on 2025-01-31 00:59:22 UTC using RuboCop version 1.71.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 @@ -119,22 +119,7 @@ Lint/AmbiguousOperatorPrecedence: # Configuration parameters: AllowedMethods. # AllowedMethods: enums Lint/ConstantDefinitionInBlock: - Exclude: - - 'spec/code_object_spec.rb' - - 'spec/command_integration_spec.rb' - - 'spec/commands/edit_spec.rb' - - 'spec/commands/find_method_spec.rb' - - 'spec/commands/raise_up_spec.rb' - - 'spec/commands/show_source_spec.rb' - - 'spec/commands/whereami_spec.rb' - - 'spec/completion_spec.rb' - - 'spec/helpers/command_helpers_spec.rb' - - 'spec/helpers/table_spec.rb' - - 'spec/hooks_spec.rb' - - 'spec/method_spec.rb' - - 'spec/pry_defaults_spec.rb' - - 'spec/pry_spec.rb' - - 'spec/wrapped_module_spec.rb' + Enabled: false # Offense count: 3 # Configuration parameters: DebuggerMethods, DebuggerRequires. @@ -144,7 +129,7 @@ Lint/Debugger: - 'spec/pry_spec.rb' # Offense count: 2 -# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches. +# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch. Lint/DuplicateBranch: Exclude: - 'lib/pry/exceptions.rb' @@ -167,6 +152,7 @@ Lint/EmptyBlock: - 'spec/command_set_spec.rb' - 'spec/command_spec.rb' - 'spec/commands/help_spec.rb' + - 'spec/commands/show_doc_spec.rb' - 'spec/commands/show_source_spec.rb' - 'spec/hooks_spec.rb' - 'spec/method_spec.rb' @@ -182,11 +168,10 @@ Lint/EmptyClass: - 'spec/method_spec.rb' - 'spec/pry_spec.rb' -# Offense count: 4 +# Offense count: 3 # Configuration parameters: AllowComments. Lint/EmptyFile: Exclude: - - 'lib/pry/reline.rb' - 'spec/fixtures/cat_load_path.rb' - 'spec/fixtures/slinky.rb' - 'spec/fixtures/slinky/stinky.rb' @@ -251,12 +236,12 @@ Lint/UselessMethodDefinition: - 'spec/commands/whereami_spec.rb' - 'spec/method_spec.rb' -# Offense count: 65 +# Offense count: 63 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: Max: 50 -# Offense count: 199 +# Offense count: 201 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. # AllowedMethods: refine Metrics/BlockLength: @@ -267,15 +252,15 @@ Metrics/BlockLength: Metrics/ClassLength: Max: 310 -# Offense count: 25 +# Offense count: 26 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/CyclomaticComplexity: Max: 55 -# Offense count: 115 +# Offense count: 112 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: - Max: 60 + Max: 54 # Offense count: 25 # Configuration parameters: AllowedMethods, AllowedPatterns. @@ -452,11 +437,10 @@ Style/HashEachMethods: Exclude: - 'lib/pry/slop.rb' -# Offense count: 2 +# Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: Exclude: - - 'Gemfile' - 'lib/pry/commands/stat.rb' # Offense count: 5 @@ -558,12 +542,12 @@ Style/RedundantFreeze: Style/RedundantHeredocDelimiterQuotes: Enabled: false -# Offense count: 6 +# Offense count: 4 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AutoCorrect, AllowComments. Style/RedundantInitialize: Exclude: - - 'spec/commands/show_source_spec.rb' + - 'spec/commands/show_doc_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect).