diff --git a/.rubocop.yml b/.rubocop.yml index 99c0e84..e94a5a8 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -23,6 +23,13 @@ Lint/UselessComparison: Exclude: - 'test/entry_test.rb' +# Turn off ABC metrics for the tests and set a workable max given +# the current state of the code. +Metrics/AbcSize: + Max: 37 + Exclude: + - 'test/**/*.rb' + # Turn block length metrics off for the tests. Metrics/BlockLength: Exclude: diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index d165d40..09e6b00 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -14,10 +14,6 @@ Layout/EmptyLinesAroundClassBody: Exclude: - 'test/extra_field_ut_test.rb' -# Offense count: 120 -Metrics/AbcSize: - Max: 60 - # Offense count: 15 # Configuration parameters: CountComments. Metrics/ClassLength: