Skip to content

Commit

Permalink
Update .rubocop_todo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrehjr committed Jan 31, 2025
1 parent 87fadb3 commit 385ae31
Showing 1 changed file with 13 additions and 29 deletions.
42 changes: 13 additions & 29 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand Down Expand Up @@ -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:
Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit 385ae31

Please sign in to comment.