From cc54e2e6c7e9d4ef5cb8239084a96ee4e9972e19 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 9 Feb 2023 10:42:00 +1100 Subject: [PATCH] Add long report class to .rubocop_todo.yml Long classes are a problem that would be good to resolve one day. But it's hard to resolve with the current reports framework. --- .rubocop_todo.yml | 1 + .../enterprise_fees_with_tax_report_by_producer.rb | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 326b9fe003..1b76712f4b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -234,6 +234,7 @@ Metrics/ClassLength: - 'lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_order.rb' - 'lib/reporting/reports/enterprise_fee_summary/scope.rb' - 'lib/reporting/reports/xero_invoices/base.rb' + - 'lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb' # Offense count: 34 # Configuration parameters: AllowedMethods, AllowedPatterns, Max. diff --git a/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb b/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb index a335572d20..cbe3a8ba3e 100644 --- a/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb +++ b/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -# rubocop:disable Metrics/ClassLength module Reporting module Reports module EnterpriseFeeSummary @@ -355,4 +354,3 @@ module Reporting end end end -# rubocop:enable Metrics/ClassLength