diff --git a/.rubocop.yml b/.rubocop.yml index 5bbf3e9..25c950d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ inherit_from: - .rubocop_yast_style.yml + /usr/share/YaST2/data/devtools/data/rubocop_yast_style.yml # Offense count: 34 Metrics/AbcSize: diff --git a/.rubocop_yast_style.yml b/.rubocop_yast_style.yml deleted file mode 100644 index e8d71ea..0000000 --- a/.rubocop_yast_style.yml +++ /dev/null @@ -1,41 +0,0 @@ -# Rubocop style configuration -# -# Following -# https://github.com/SUSE/style-guides/blob/master/Ruby.md - -# https://github.com/SUSE/style-guides/blob/master/Ruby.md#strings -Style/StringLiterals: - EnforcedStyle: double_quotes - -Style/StringLiteralsInInterpolation: - EnforcedStyle: double_quotes - -# Is there any justification for "aligned" which is the default? -Style/MultilineOperationIndentation: - EnforcedStyle: indented - -# https://github.com/SUSE/style-guides/blob/master/Ruby.md#arrays -Style/WordArray: - Enabled: false - -# align arrows: -# "foo" => true -# "foo_bar" => false -Style/AlignHash: - EnforcedHashRocketStyle: table - -# no extra indentation for multiline function calls -Style/AlignParameters: - EnforcedStyle: with_fixed_indentation - -# no extra indentation for case -Style/CaseIndentation: - IndentWhenRelativeTo: end - -# "unless" has a different connotation than "if not" -Style/NegatedIf: - Enabled: false - -# use "raise" instead of "fail" -Style/SignalException: - EnforcedStyle: only_raise diff --git a/package/yast2-nfs-client.spec b/package/yast2-nfs-client.spec index 1b99197..fab0fd1 100644 --- a/package/yast2-nfs-client.spec +++ b/package/yast2-nfs-client.spec @@ -26,7 +26,7 @@ Source0: %{name}-%{version}.tar.bz2 BuildRequires: perl-XML-Writer BuildRequires: update-desktop-files -BuildRequires: yast2-devtools >= 3.1.10 +BuildRequires: yast2-devtools >= 3.1.27 BuildRequires: yast2-testsuite # Don't use Info function to check enable state (bnc#807507) BuildRequires: yast2 >= 2.23.23