Skip to content

Commit d554c69

Browse files
committed
[service] Temporarily disable some RuboCop rules
1 parent be386a5 commit d554c69

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

service/lib/yast2/popup.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# frozen_string_literal: true
2+
3+
#
14
# Copyright (c) [2024] SUSE LLC
25
#
36
# All Rights Reserved.
@@ -24,6 +27,8 @@ module Yast2
2427
# Replacement to the Yast2::Popup class to work with Agama.
2528
class Popup
2629
class << self
30+
# rubocop:disable Metrics/ParameterLists
31+
# rubocop:disable Lint/UnusedMethodArgument
2732
def show(message, details: "", headline: "", timeout: 0, focus: nil, buttons: :ok,
2833
richtext: false, style: :notice)
2934

@@ -34,6 +39,8 @@ def show(message, details: "", headline: "", timeout: 0, focus: nil, buttons: :o
3439
default_option: focus
3540
)
3641
questions_client.ask(question)
42+
# rubocop:enable Metrics/ParameterLists
43+
# rubocop:enable Lint/UnusedMethodArgument
3744
end
3845

3946
private

0 commit comments

Comments
 (0)