Skip to content

Commit

Permalink
[service] Temporarily disable some RuboCop rules
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Feb 7, 2024
1 parent be386a5 commit d554c69
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions service/lib/yast2/popup.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# frozen_string_literal: true

#
# Copyright (c) [2024] SUSE LLC
#
# All Rights Reserved.
Expand All @@ -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)

Expand All @@ -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
Expand Down

0 comments on commit d554c69

Please sign in to comment.