From d554c69b75b4508ff1e821c521390ab954d65cd5 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..7d0763505c 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) @@ -34,6 +39,8 @@ def show(message, details: "", headline: "", timeout: 0, focus: nil, buttons: :o default_option: focus ) questions_client.ask(question) + # rubocop:enable Metrics/ParameterLists + # rubocop:enable Lint/UnusedMethodArgument end private