From 65f9b1df2b36345c45a0a87175a5bd190dfdd21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Wed, 7 Feb 2024 06:47:09 +0000 Subject: [PATCH] [service] Temporarily disable some RuboCop rules --- service/lib/yast2/popup.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/service/lib/yast2/popup.rb b/service/lib/yast2/popup.rb index d633740d26..ec1af2a5b3 100644 --- a/service/lib/yast2/popup.rb +++ b/service/lib/yast2/popup.rb @@ -1,3 +1,6 @@ +# frozen_string_literal: true + +# # Copyright (c) [2024] SUSE LLC # # All Rights Reserved. @@ -24,6 +27,8 @@ module Yast2 # Replacement to the Yast2::Popup class to work with Agama. class Popup class << self + # rubocop:disable Metrics/ParameterLists + # rubocop:disable Lint/UnusedMethodArgument def show(message, details: "", headline: "", timeout: 0, focus: nil, buttons: :ok, richtext: false, style: :notice) @@ -65,3 +70,5 @@ def questions_client end end end +# rubocop:enable Metrics/ParameterLists +# rubocop:enable Lint/UnusedMethodArgument