diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 9b7307a8..6c5f376c 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,10 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 2 -Lint/HandleExceptions: - Exclude: - - 'Rakefile' diff --git a/Rakefile b/Rakefile index 1c2fb947..912c7fcb 100644 --- a/Rakefile +++ b/Rakefile @@ -5,7 +5,7 @@ rescue LoadError end begin require 'simplecov' -rescue LoadError +rescue LoadError # rubocop:disable Lint/HandleExceptions end Bundler::GemHelper.install_tasks @@ -33,7 +33,7 @@ end begin require 'rubocop' require 'rubocop/rake_task' -rescue LoadError +rescue LoadError # rubocop:disable Lint/HandleExceptions else Rake::Task[:rubocop].clear if Rake::Task.task_defined?(:rubocop) require 'rbconfig'