From ec0ffa1af58aa87cc801d7a964d90d41c8abbee1 Mon Sep 17 00:00:00 2001 From: Amauri Bizerra <10775696+extern-c@users.noreply.github.com> Date: Sat, 16 May 2026 20:04:11 +0000 Subject: [PATCH] Fix Style/PercentLiteralDelimiters Rubocop offenses Signed-off-by: Amauri Bizerra <10775696+extern-c@users.noreply.github.com> --- .rubocop_todo.yml | 7 ------- Rakefile | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 5f5b288..85330eb 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -81,13 +81,6 @@ Style/OpenStructUse: - 'lib/cyclonedx/bom_builder.rb' - 'spec/cyclonedx/bom_component_spec.rb' -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: PreferredDelimiters. -Style/PercentLiteralDelimiters: - Exclude: - - 'Rakefile' - # Offense count: 6 # This cop supports safe autocorrection (--autocorrect). Style/RedundantRegexpEscape: diff --git a/Rakefile b/Rakefile index a176eaf..30e81f8 100644 --- a/Rakefile +++ b/Rakefile @@ -11,7 +11,7 @@ CLOBBER.include('coverage') require 'cucumber/rake/task' Cucumber::Rake::Task.new do |t| - t.cucumber_opts = %w(--format progress) + t.cucumber_opts = %w[--format progress] end # RSpec